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:
5
debian/rules
vendored
5
debian/rules
vendored
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user