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