1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 02:35:46 +01:00

Use -Wno-stringop-overflow when compiling .deb (#18731)

This warning is bugged in GCC < `11.3`, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578

Closes https://github.com/OpenRCT2/OpenRCT2/issues/16691
This commit is contained in:
QwertyChouskie
2022-12-02 12:50:35 -08:00
committed by GitHub
parent 752eec116a
commit 7602eb6095

5
debian/rules vendored
View File

@@ -2,5 +2,10 @@
BUILDDIR=build_dir
# Ignore false warning with GCC < 11.3: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
# Reference OpenRCT2 bug report: https://github.com/OpenRCT2/OpenRCT2/issues/16691
export DEB_CFLAGS_MAINT_APPEND = -Wno-stringop-overflow
export DEB_CXXFLAGS_MAINT_APPEND = -Wno-stringop-overflow
%:
dh $@