summaryrefslogtreecommitdiff
path: root/connectivity/CppunitTest_connectivity_commontools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/CppunitTest_connectivity_commontools.mk')
-rw-r--r--connectivity/CppunitTest_connectivity_commontools.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/CppunitTest_connectivity_commontools.mk b/connectivity/CppunitTest_connectivity_commontools.mk
index 1678e7b19e05..6026e807effa 100644
--- a/connectivity/CppunitTest_connectivity_commontools.mk
+++ b/connectivity/CppunitTest_connectivity_commontools.mk
@@ -21,10 +21,12 @@ $(eval $(call gb_CppunitTest_use_external,connectivity_commontools,boost_headers
$(eval $(call gb_CppunitTest_use_sdk_api,connectivity_commontools))
ifeq ($(COM),GCC)
+ifneq ($(COM_GCC_IS_CLANG),TRUE)
$(eval $(call gb_CppunitTest_add_cxxflags,connectivity_commontools,\
-fpermissive \
))
endif
+endif
ifeq ($(WINDOWS_SDK_VERSION),80)
$(eval $(call gb_CppunitTest_add_defs,connectivity_commontools,\