summaryrefslogtreecommitdiffstats
path: root/jurt/Library_jpipe.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-04 14:10:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-04 14:10:12 +0200
commit52821cd8dc62a2287153dcd413377539bb070ae0 (patch)
treeadc833ca6054e511f73b8fd5c81dde568b364b03 /jurt/Library_jpipe.mk
parentsw::UnoImplPtr: add doxygen documentation (diff)
downloadcore-52821cd8dc62a2287153dcd413377539bb070ae0.tar.gz
core-52821cd8dc62a2287153dcd413377539bb070ae0.zip
Fix condition
Change-Id: I8e70a62959dbeecd571c15c5b6fac1a41511a3f6
Diffstat (limited to 'jurt/Library_jpipe.mk')
-rw-r--r--jurt/Library_jpipe.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/jurt/Library_jpipe.mk b/jurt/Library_jpipe.mk
index 2ca6cb7b019b..6d1512e41a71 100644
--- a/jurt/Library_jpipe.mk
+++ b/jurt/Library_jpipe.mk
@@ -21,7 +21,15 @@ $(eval $(call gb_Library_add_cobjects,jpipe,\
jurt/source/pipe/wrapper/wrapper \
))
-else ifeq ($(COM_GCC_IS_CLANG)$(filter -fsanitize=%,%(gb_CC)),)
+else
+
+ifeq ($(COM_GCC_IS_CLANG),TRUE)
+ifneq ($(filter -fsanitize=%,$(gb_CC)),)
+Library_jpipe__staticsalhack = TRUE
+endif
+endif
+
+ifeq ($(Library_jpipe__staticsalhack),)
$(eval $(call gb_Library_use_libraries,jpipe,\
sal \
@@ -75,5 +83,6 @@ $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktarget,jpipe)): \
gb_CXX := $(filter-out -fsanitize=%,$(gb_CXX))
endif
+endif
# vim:set noet sw=4 ts=4: