summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-16 13:21:27 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-12-16 20:35:02 +0000
commitee26cbc575206363e80752afa7a2fc11a4e62e3a (patch)
tree3baaef03be165900544bf6b9293f18df0b0780b6 /solenv
parentbd05312da42cfd91e74376cab0f243253edcec60 (diff)
gbuild: disable -Werror for -Wdeprecated-declarations
Zillions of auto_ptr warnings in boost. Change-Id: Ib9071c0241c2cb4c748f2634c1b39a2f8e889c20 Reviewed-on: https://gerrit.libreoffice.org/20737 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_GCC_defs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 93b35a4884a3..a062d8c33e77 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -112,7 +112,7 @@ gb_CXXFLAGS_COMMON += -fstack-protector-strong
gb_LinkTarget_LDFLAGS += -fstack-protector-strong
endif
-gb_CFLAGS_WERROR := $(if $(ENABLE_WERROR),-Werror)
+gb_CFLAGS_WERROR := $(if $(ENABLE_WERROR),-Werror -Wno-error=deprecated-declarations)
# This is the default in non-C++11 mode
ifeq ($(COM_GCC_IS_CLANG),TRUE)