2016-01-10 23:42:57 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
BUILDDIR=build_dir
|
|
|
|
|
2022-12-05 07:22:31 +01:00
|
|
|
# Ignore false warnings with GCC:
|
|
|
|
#
|
|
|
|
# stringop-overflow false positive in GCC < 11.3
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
|
|
|
|
#
|
|
|
|
# maybe-uninitialized false positive in GCC < 12.3 (note 12.3 is currently unreleased)
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105937
|
|
|
|
#
|
|
|
|
# Reference OpenRCT2 bug reports:
|
|
|
|
# https://github.com/OpenRCT2/OpenRCT2/issues/16691 (-Wno-stringop-overflow)
|
|
|
|
# https://github.com/OpenRCT2/OpenRCT2/issues/17371 (-Wno-maybe-uninitialized -Wno-error=null-dereference)
|
|
|
|
export DEB_CFLAGS_MAINT_APPEND = -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=null-dereference
|
|
|
|
export DEB_CXXFLAGS_MAINT_APPEND = -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=null-dereference
|
2022-12-02 21:50:35 +01:00
|
|
|
|
2016-01-10 23:42:57 +01:00
|
|
|
%:
|
|
|
|
dh $@
|