diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-16 11:37:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-16 11:37:02 +0200 |
commit | 1772daba6afa394e1081028825e4f96e6387d9a3 (patch) | |
tree | 211d0e66a0a4dca714a536a3d1beacf7ab8b425d /setup_native | |
parent | dd881805bf5cc5ec99314d02534ffeaf31de1cae (diff) |
Also filter out flags like -fsanitize-address-globals-dead-stripping
...to avoid -Werror,-Wunused-command-line-argument in case some ASan build
setting passes in such flags
Change-Id: Ia613a10e3564a23715019ee0c7c755cdcbf7a47c
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/Library_getuid.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/Library_getuid.mk b/setup_native/Library_getuid.mk index 650cfaf1897b..4212e5f4b4d5 100644 --- a/setup_native/Library_getuid.mk +++ b/setup_native/Library_getuid.mk @@ -15,7 +15,7 @@ $(eval $(call gb_Library_add_defs,getuid,\ )) endif -$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktarget,getuid)) : gb_CC := $(filter-out -fsanitize=%,$(gb_CC)) +$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktarget,getuid)) : gb_CC := $(filter-out -fsanitize%,$(gb_CC)) # the library is used by LD_PRELOAD; make sure that we see the symbols ;-) ifeq ($(COM),GCC) |