d/rules: strip -O2

Gbp-Dch: Ignore
This commit is contained in:
Andrea Pappacoda 2022-12-28 13:04:37 +01:00
parent 1043024a60
commit 2d328d391e
No known key found for this signature in database
GPG key ID: 4A9208A2455077A7

5
debian/rules vendored
View file

@ -3,8 +3,9 @@
# -lto because I use CMake's LTO support
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+all,-lto qa=+all
# added by qa=+bug, triggers some false positives
export DEB_CXXFLAGS_MAINT_STRIP = -Werror=array-bounds
# -Werror=array-bounds is added by qa=+bug, triggers some false positives
# -O2 is stripped because CMake already passes -O3
export DEB_CXXFLAGS_MAINT_STRIP = -Werror=array-bounds -O2
# yuzu requires CX16 instructions (CMPXCHG16B) to build, and they are
# "only" available on Intel Core 2 or newer CPUs. The only way I know to