diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-02-17 08:21:50 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-11-10 22:17:03 +0100 |
commit | dc2a8c509507dffa28e4c356418207e9b9bb0ca5 (patch) | |
tree | 6677102e84d315dd02901026df8cbb8fd3453a8a /config_host.mk.in | |
parent | lok: hide useless insert image button in sidebar (diff) | |
download | core-dc2a8c509507dffa28e4c356418207e9b9bb0ca5.tar.gz core-dc2a8c509507dffa28e4c356418207e9b9bb0ca5.zip |
More targeted suppression of bogus GCC -Werror=stringop-overflow=
...given that <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87296#c5>
"[8/9/10/11 Regression] -Wstringop-overflow false positive due to using MEM_REF
type of &MEM" is declared fixed now on GCC 11 trunk.
(Moving -Wno-stringop-overflow from gb_CFLAGS_WERROR to gb_CXXFLAGS_COMMON is
done for no other reason than to harmonize this with the code for the similar
HAVE_BROKEN_GCC_WMAYBE_UNINITIALIZED.)
Change-Id: I3468138c9bbda28f754d4162cb9c059796bd3932
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111029
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'config_host.mk.in')
-rw-r--r-- | config_host.mk.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config_host.mk.in b/config_host.mk.in index d6edba704b21..f0bf804474f7 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -261,6 +261,7 @@ export GTK3_LIBS=$(gb_SPACE)@GTK3_LIBS@ export USING_X11=@USING_X11@ export HAMCREST_JAR=@HAMCREST_JAR@ export HAVE_BROKEN_GCC_WMAYBE_UNINITIALIZED=@HAVE_BROKEN_GCC_WMAYBE_UNINITIALIZED@ +export HAVE_BROKEN_GCC_WSTRINGOP_OVERFLOW=@HAVE_BROKEN_GCC_WSTRINGOP_OVERFLOW@ export HAVE_CLANG_DEBUG_INFO_KIND_CONSTRUCTOR=@HAVE_CLANG_DEBUG_INFO_KIND_CONSTRUCTOR@ export HAVE_LO_CLANG_DLLEXPORTINLINES=@HAVE_LO_CLANG_DLLEXPORTINLINES@ export HAVE_GCC_AVX=@HAVE_GCC_AVX@ |