summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 17:26:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 17:26:43 +0200
commit500acced7c900b34fdd78139ecfd5e921309c304 (patch)
tree6f90036506fbba22679c6366a2290b8037537c07
parent667910530deb61563d4812db0995da94e25220e5 (diff)
Revert "Silence Clang -Werror,-Wreturn-type-c-linkage"
-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)