summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-02 15:56:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-02 16:10:37 +0200
commitb0080192e51fe80b682d805c19530da0655b4667 (patch)
tree857104b6ed4328ddb094ce54e58b22ef761538a4 /setup_native
parent88b4abbb80de866e0dc439711b13ae380b8d0afc (diff)
Filter out all -fsanitize= args when building libgetuid.so
Change-Id: Iaac0507c3f62c57a95a65972cba7575d04bd177e
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/Library_getuid.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/Library_getuid.mk b/setup_native/Library_getuid.mk
index ffd6c8488cea..650cfaf1897b 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=address,$(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)