From d9b55076f40c6debe887368a561dc1db3039a63b Mon Sep 17 00:00:00 2001 From: QwertyChouskie Date: Wed, 16 Sep 2026 08:33:14 -0700 Subject: [PATCH] [debian/rules] Disable error on another faulty warning (#27150) Should fix https://github.com/OpenRCT2/OpenRCT2/issues/24509 --- debian/rules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index c8b0f385e2..d78774b4f2 100755 --- a/debian/rules +++ b/debian/rules @@ -13,8 +13,9 @@ BUILDDIR=build_dir # 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 +# https://github.com/OpenRCT2/OpenRCT2/issues/24509 (-Wno-error=free-nonheap-object) +export DEB_CFLAGS_MAINT_APPEND = -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=null-dereference -Wno-error=free-nonheap-object +export DEB_CXXFLAGS_MAINT_APPEND = -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=null-dereference -Wno-error=free-nonheap-object # https://manpages.debian.org/testing/dpkg-dev/dpkg-architecture.1.en.html#Usage_in_debian/rules DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)