summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup_native/Library_getuid.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup_native/Library_getuid.mk b/setup_native/Library_getuid.mk
index fa98773f4d06..ffd6c8488cea 100644
--- a/setup_native/Library_getuid.mk
+++ b/setup_native/Library_getuid.mk
@@ -15,6 +15,8 @@ $(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))
+
# the library is used by LD_PRELOAD; make sure that we see the symbols ;-)
ifeq ($(COM),GCC)
$(eval $(call gb_Library_add_cflags,getuid,\