Filter out all -fsanitize= args when building libgetuid.so

Change-Id: Iaac0507c3f62c57a95a65972cba7575d04bd177e
This commit is contained in:
Stephan Bergmann 2014-07-02 15:56:23 +02:00
parent 88b4abbb80
commit b0080192e5

View file

@ -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)