d/rules: strip -O2
Gbp-Dch: Ignore
This commit is contained in:
parent
1043024a60
commit
2d328d391e
1 changed files with 3 additions and 2 deletions
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -3,8 +3,9 @@
|
||||||
# -lto because I use CMake's LTO support
|
# -lto because I use CMake's LTO support
|
||||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+all,-lto qa=+all
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+all,-lto qa=+all
|
||||||
|
|
||||||
# added by qa=+bug, triggers some false positives
|
# -Werror=array-bounds is added by qa=+bug, triggers some false positives
|
||||||
export DEB_CXXFLAGS_MAINT_STRIP = -Werror=array-bounds
|
# -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
|
# 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
|
# "only" available on Intel Core 2 or newer CPUs. The only way I know to
|
||||||
|
|
Loading…
Reference in a new issue