forked from rosebudai/OpenRCT2-Web
[debian/rules] Disable error on another faulty warning (#27150)
Should fix https://github.com/OpenRCT2/OpenRCT2/issues/24509
This commit is contained in:
1 parent
d4c2c10f07
commit
d9b55076f4
1 file changed
+3
-2
Vendored
+3
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user