summaryrefslogtreecommitdiff
path: root/solenv/gbuild/platform/com_GCC_defs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gbuild/platform/com_GCC_defs.mk')
-rw-r--r--solenv/gbuild/platform/com_GCC_defs.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 1bb4017072c1..5b5a2bd3de03 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -72,14 +72,6 @@ gb_CXXFLAGS_COMMON := \
-fno-common \
-pipe \
-# VCL_BUILDER_DECL_FACTORY (include/vcl/builderfactory.hxx) routinely causes
-# "'make...' has C-linkage specified, but returns user-defined type
-# 'VclPtr<vcl::Window>' which is incompatible with C
-# [-Werror,-Wreturn-type-c-linkage]":
-ifeq ($(COM_GCC_IS_CLANG),TRUE)
-gb_CXXFLAGS_COMMON += -Wno-return-type-c-linkage
-endif
-
gb_CXXFLAGS_Wundef = -Wno-undef
ifneq ($(HAVE_THREADSAFE_STATICS),TRUE)