diff options
author | gileri | 2024-01-01 14:28:38 +0100 |
---|---|---|
committer | gileri | 2024-01-01 14:28:38 +0100 |
commit | a80e2b18b7bab72e92ba0d4065ec4d73d53e7f8d (patch) | |
tree | d6507e3f103e362aa703533fc58e612e2063b852 | |
parent | df8a7b9ecd58096cce8404a8dad5adfe363bbbbc (diff) | |
download | aur-a80e2b18b7bab72e92ba0d4065ec4d73d53e7f8d.tar.gz |
Explain the need for -Werror=maybe-uninitialized
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -43,6 +43,9 @@ prepare() { build() { cd "Cataclysm-DDA-master" + + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109418 + # -Werror=maybe-uninitialized has false positives, including in gcc libs, so we disable it here. CXXFLAGS="$CXXFLAGS -Wno-error=maybe-uninitialized" make PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 LANGUAGE="all" LTO=1 TESTS=0 RUNTESTS=0 LINTJSON=0 ASTYLE=0 PCH=0 LIBBACKTRACE=1 CXXFLAGS="$CXXFLAGS -Wno-error=maybe-uninitialized" make PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 LANGUAGE="all" LTO=1 TESTS=0 RUNTESTS=0 LINTJSON=0 ASTYLE=0 PCH=0 TILES=1 SOUND=1 LIBBACKTRACE=1 # LOCALIZE = 0 to save 30MB |