fuzz-introspector: add -lto to ldflags (#7547)

This commit is contained in:
DavidKorczynski 2022-04-11 10:00:45 +01:00 committed by GitHub
parent e06931d20b
commit 05be069314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ if [ "$FUZZING_LANGUAGE" = "jvm" ]; then
fi
if [ "$SANITIZER" = "introspector" ]; then
export LDFLAGS="-fuse-ld=gold"
export LDFLAGS="-fuse-ld=gold -flto"
export AR=llvm-ar
export RANLIB=llvm-ranlib