From: Steve Langasek Date: Wed, 25 Jan 2023 08:15:20 +0000 (+0000) Subject: do not hard-code CPU target based on uname (Closes: #1009622). X-Git-Tag: archive/raspbian/0.7.1-9+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f4a121f51907ffd9b2dbd2ba7ad55a2c9b3b87f5;p=ck.git do not hard-code CPU target based on uname (Closes: #1009622). The compiler in Debian correctly targets the right ISA for the architecture. Hard-coding this can result in misbuilds depending on the build machine. Also, armv7-a is the wrong target for armhf now, it should be armv7-a+fp. Gbp-Pq: Topic debian Gbp-Pq: Name 0003-ftbfs-armhf.patch --- diff --git a/configure b/configure index 3610d76..0ce1686 100755 --- a/configure +++ b/configure @@ -506,14 +506,6 @@ case $PLATFORM in ENVIRONMENT=64 ;; arm|armv6|armv6l|armv7|armv7l) - case "$PLATFORM" in - "armv6"|"armv6l") - CFLAGS="$CFLAGS -march=armv6k"; - ;; - "armv7"|"armv7l") - CFLAGS="$CFLAGS -march=armv7-a"; - ;; - esac RTM_ENABLE="CK_MD_RTM_DISABLE" LSE_ENABLE="CK_MD_LSE_DISABLE" MM="${MM:-"CK_MD_RMO"}"