[Libreoffice-commits] core.git: solenv/gbuild
Peter Foley
pefoley2 at pefoley.com
Thu Jan 21 14:37:02 PST 2016
solenv/gbuild/platform/com_GCC_defs.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit acd3ebefccd0b4570100c426574d83cfa9464f20
Author: Peter Foley <pefoley2 at pefoley.com>
Date: Mon Jan 18 15:26:59 2016 -0500
detailed warnings for invalid pch files
Change-Id: I28e55bbcae6d16af4ef230d1ec263ab356e1049f
Reviewed-on: https://gerrit.libreoffice.org/21586
Reviewed-by: Michael Stahl <mstahl at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index ef7dbea..9d88dfc 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
More information about the Libreoffice-commits
mailing list