From 4ad6c7b4d3bf2c8ced047b8848ac43018ed46b29 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Mon, 8 Feb 2021 23:55:57 +0800 Subject: [PATCH] Disable non-generic starch build on stretch/jessie --- debian-jessie/rules | 4 +++- debian-stretch/rules | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian-jessie/rules b/debian-jessie/rules index f03be8a..3072b00 100755 --- a/debian-jessie/rules +++ b/debian-jessie/rules @@ -15,7 +15,9 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk override_dh_auto_build: - dh_auto_build -- RTLSDR=yes BLADERF=yes HACKRF=no LIMESDR=no DUMP1090_VERSION=$(DEB_VERSION) + # jessie's gcc doesn't support the compiler flags needed for ARM-specific starch flavors; + # turn off runtime CPU detection + dh_auto_build -- RTLSDR=yes BLADERF=yes HACKRF=no LIMESDR=no DUMP1090_VERSION=$(DEB_VERSION) CPUFEATURES=no override_dh_install: dh_install diff --git a/debian-stretch/rules b/debian-stretch/rules index f03be8a..98002a2 100755 --- a/debian-stretch/rules +++ b/debian-stretch/rules @@ -15,7 +15,9 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk override_dh_auto_build: - dh_auto_build -- RTLSDR=yes BLADERF=yes HACKRF=no LIMESDR=no DUMP1090_VERSION=$(DEB_VERSION) + # starch's gcc doesn't support the compiler flags needed for ARM-specific starch flavors; + # turn off runtime CPU detection + dh_auto_build -- RTLSDR=yes BLADERF=yes HACKRF=no LIMESDR=no DUMP1090_VERSION=$(DEB_VERSION) CPUFEATURES=no override_dh_install: dh_install