diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-05 08:57:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-05 08:58:50 +0000 |
commit | d7ea9b443701268f137483e008d0514236a88b91 (patch) | |
tree | c43e6a79716a58d0e3cb7e9108b5e3bbc405fd2a /solenv | |
parent | ed7e1fd547a2b31c29e7e6d75c86ff59d152b5ad (diff) |
for oss-fuzz check LDFLAGS for -fsanitize too
Change-Id: I3de0776060c88c3f5705c67ea32ea1843876553e
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/linux.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/linux.mk b/solenv/gbuild/platform/linux.mk index 0b4ced4be997..f0276feab97d 100644 --- a/solenv/gbuild/platform/linux.mk +++ b/solenv/gbuild/platform/linux.mk @@ -9,7 +9,7 @@ gb__LinkTarget_LDFLAGS_zdefs := -Wl,-z,defs ifeq ($(COM_IS_CLANG),TRUE) -ifneq ($(filter -fsanitize=%,$(CC)),) +ifneq ($(filter -fsanitize=%,$(CC) $(LDFLAGS)),) gb__LinkTarget_LDFLAGS_zdefs := endif endif |