summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-11-03 14:19:00 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-11-03 14:19:00 +0100
commit363cf6579930565094b908e7c9390bea29f290e8 (patch)
tree72ffbd950793f526ec9a9fa8fddca7d46f6b15a2
parent5cf2d86ac8347c3456b25f1fadacd8088d9b03b8 (diff)
ado headers need -fpermissive with gcc
-rw-r--r--connectivity/CppunitTest_connectivity_ado.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/connectivity/CppunitTest_connectivity_ado.mk b/connectivity/CppunitTest_connectivity_ado.mk
index ccd2f63c1d3b..8594b17975f8 100644
--- a/connectivity/CppunitTest_connectivity_ado.mk
+++ b/connectivity/CppunitTest_connectivity_ado.mk
@@ -24,6 +24,12 @@ $(eval $(call gb_CppunitTest_use_ure,connectivity_ado))
$(eval $(call gb_CppunitTest_use_sdk_api,connectivity_ado))
+ifeq ($(COM),GCC)
+$(eval $(call gb_CppunitTest_add_cxxflags,connectivity_ado,\
+ -fpermissive \
+))
+endif
+
$(eval $(call gb_CppunitTest_add_exception_objects,connectivity_ado, \
connectivity/qa/connectivity/ado/DriverTest \
))