diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-04 14:10:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-04 14:10:12 +0200 |
commit | 52821cd8dc62a2287153dcd413377539bb070ae0 (patch) | |
tree | adc833ca6054e511f73b8fd5c81dde568b364b03 /jurt | |
parent | daddd329f8d4768a022d1aef51d2e65790c2944e (diff) |
Fix condition
Change-Id: I8e70a62959dbeecd571c15c5b6fac1a41511a3f6
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/Library_jpipe.mk | 11 |
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: |