summaryrefslogtreecommitdiff
path: root/connectivity/CppunitTest_connectivity_commontools.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-05 18:07:59 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-05 18:08:20 +0200
commit32e2cfda10c0e98e0157dcff1f0c1085ad266d07 (patch)
tree86003d1c11a7abf577a12ebcd8bfcc417d29a251 /connectivity/CppunitTest_connectivity_commontools.mk
parentee0bfd04c44f7265e2365652513a6fc0a9b76024 (diff)
clang: error: argument unused during compilation: '-fpermissive'
Change-Id: I79db3d1b611315aab8a6c3a28d259a589dfa41d7
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,\