diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-25 11:27:49 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-25 14:10:12 +0200 |
commit | 5400d1736480d9380f0ed1eeaa546d75889e6653 (patch) | |
tree | d1d1761b03ea3ba5dc4bf79637fd55b4948e8969 | |
parent | cdd233d01c860d4628b627d00a94c3bbdcee85cd (diff) |
gbuild: fix GCC_VERSION check
This was intended to check for GCC 4.8, but that would be
GCC_VERSION=408, not 480, so fix the check. Not sure what GCC 4.9
actually does here, though.
Change-Id: I32e9aafd36ea7fb81aac52f6788c97fc42b5c8e1
Reviewed-on: https://gerrit.libreoffice.org/56381
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 2 |
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 8edc1bf7b48a..f2905d4588dd 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -107,7 +107,7 @@ ifeq ($(COM_IS_CLANG),TRUE) gb_CXXFLAGS_COMMON += -Wimplicit-fallthrough else # GCC 4.8, at least, is confused by boost 1.66 optional assignments -ifeq ($(shell expr '$(GCC_VERSION)' '<' 490),1) +ifeq ($(shell expr '$(GCC_VERSION)' '<' 409),1) gb_CXXFLAGS_COMMON += -Wno-maybe-uninitialized endif endif |