From 2d328d391eb0ebaedf0635eb1e38af7d9c8cdf86 Mon Sep 17 00:00:00 2001 From: Andrea Pappacoda Date: Wed, 28 Dec 2022 13:04:37 +0100 Subject: [PATCH] d/rules: strip -O2 Gbp-Dch: Ignore --- debian/rules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index a617666..7c54a18 100755 --- a/debian/rules +++ b/debian/rules @@ -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