diff --git a/debian/changelog b/debian/changelog index 8e579aa..5e016d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,10 @@ qt6-base (6.3.1+dfsg-4) UNRELEASED; urgency=medium + [ Pino Toscano ] + * Drop -march=native from the CXXFLAGS, as it will optimize the build for the + hardware it is built on (i.e. a specific buildd for each architecture), + making the binaries unusable (SIGBUS, "Illegal instruction") on hardware + without the build-time features. -- Debian Qt/KDE Maintainers Sat, 16 Jul 2022 13:12:46 +0200 diff --git a/debian/rules b/debian/rules index 4fb76dd..360c7fd 100755 --- a/debian/rules +++ b/debian/rules @@ -19,9 +19,6 @@ else extra_cmake_args += -DFEATURE_sctp=OFF endif -# Prevent "Error: selected processor does not support `yield' in ARM mode" -export DEB_CXXFLAGS_MAINT_APPEND = -march=native - %: dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja