summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2016-01-18 15:26:59 -0500
committerMichael Stahl <mstahl@redhat.com>2016-01-21 22:36:31 +0000
commitacd3ebefccd0b4570100c426574d83cfa9464f20 (patch)
tree886f163f0d09fd39c46c4ade8c979058b4857abe /solenv
parentd86a3ae100c5a9ad2895baec9a564e570a0a7d93 (diff)
detailed warnings for invalid pch files
Change-Id: I28e55bbcae6d16af4ef230d1ec263ab356e1049f Reviewed-on: https://gerrit.libreoffice.org/21586 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_GCC_defs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index ef7dbea0cf76..9d88dfc4bdb0 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -114,8 +114,8 @@ endif
ifeq ($(ENABLE_PCH),TRUE)
ifneq ($(COM_IS_CLANG),TRUE)
-gb_CFLAGS_COMMON += -fpch-preprocess
-gb_CXXFLAGS_COMMON += -fpch-preprocess
+gb_CFLAGS_COMMON += -fpch-preprocess -Winvalid-pch
+gb_CXXFLAGS_COMMON += -fpch-preprocess -Winvalid-pch
endif
endif