Skip to content

Commit

Permalink
infra: fix fuzz-introspector linker flags (google#7583)
Browse files Browse the repository at this point in the history
Moves -fuse-ld=gold to compile flags and removes -flto from linker
flags.

Should fix a number of the projects
google#7540 (comment)

Ref:
google#7540 (comment)

Ref:
google#7540 (comment)
  • Loading branch information
DavidKorczynski authored and MartinPetkov committed Aug 15, 2022
1 parent 75f12da commit fb433f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/base-images/base-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ENV SANITIZER_FLAGS_dataflow "-fsanitize=dataflow"

ENV SANITIZER_FLAGS_thread "-fsanitize=thread"

ENV SANITIZER_FLAGS_introspector "-flegacy-pass-manager -flto -fno-inline-functions -Wl,-fuse-ld=gold,-flto -Wno-unused-command-line-argument"
ENV SANITIZER_FLAGS_introspector "-flegacy-pass-manager -flto -fno-inline-functions -fuse-ld=gold -Wno-unused-command-line-argument"

# Do not use any sanitizers in the coverage build.
ENV SANITIZER_FLAGS_coverage ""
Expand Down

0 comments on commit fb433f0

Please sign in to comment.