From 270212fceaf3f8bcffe0fd248f3b26bc0697d1a0 Mon Sep 17 00:00:00 2001 From: Rust Maintainers Date: Sun, 9 Jul 2017 00:35:25 +0100 Subject: [PATCH] d-fix-configure-for-deb-arches Gbp-Pq: Name d-fix-configure-for-deb-arches.patch --- configure | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 79f1d6f149..9e80ea1098 100755 --- a/configure +++ b/configure @@ -514,8 +514,19 @@ case $CFG_CPUTYPE in ;; armv7l | armv8l) - CFG_CPUTYPE=armv7 - CFG_OSTYPE="${CFG_OSTYPE}eabihf" + case $DEB_HOST_ARCH in + armhf) + CFG_CPUTYPE=armv7 + CFG_OSTYPE="${CFG_OSTYPE}eabihf" + ;; + armel) + CFG_CPUTYPE=arm + CFG_OSTYPE="${CFG_OSTYPE}eabi" + ;; + *) + err "unknown DEB_HOST_ARCH $DEB_HOST_ARCH for armv7l/armv8l cpu" + ;; + esac ;; aarch64) -- 2.30.2