From c4dd52a672e958f77166ab1cb0c4c0870ea648d5 Mon Sep 17 00:00:00 2001 From: David Major Date: Fri, 11 Sep 2020 21:38:11 +0000 Subject: [PATCH] Bug 1664537 - Don't clobber CFLAGS in asan-fuzzing-ccov config r=marco We should preserve e.g. the `-fcrash-diagnostics-dir` that is included indirectly via the sourcing of `mozconfig.asan` at line 14. Differential Revision: https://phabricator.services.mozilla.com/D89952 --- browser/config/mozconfigs/linux64/asan-fuzzing-ccov | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/config/mozconfigs/linux64/asan-fuzzing-ccov b/browser/config/mozconfigs/linux64/asan-fuzzing-ccov index b1dfe5105280..6f4671dbcabc 100644 --- a/browser/config/mozconfigs/linux64/asan-fuzzing-ccov +++ b/browser/config/mozconfigs/linux64/asan-fuzzing-ccov @@ -21,9 +21,9 @@ ac_add_options --disable-profiling ac_add_options --disable-warnings-as-errors ac_add_options --enable-coverage -export CFLAGS="--coverage" -export CXXFLAGS="--coverage" -export LDFLAGS="--coverage -Wl,--compress-debug-sections=zlib" +export CFLAGS="$CFLAGS --coverage" +export CXXFLAGS="$CXXFLAGS --coverage" +export LDFLAGS="$LDFLAGS --coverage -Wl,--compress-debug-sections=zlib" # gold is required for libFuzzer to work properly ac_add_options --enable-linker=gold