projects
/
rustc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c94d32
)
d-fix-configure-for-deb-arches
author
Rust Maintainers
<pkg-rust-maintainers@lists.alioth.debian.org>
Wed, 4 Jan 2017 20:34:56 +0000
(20:34 +0000)
committer
Ximin Luo
<infinity0@debian.org>
Wed, 4 Jan 2017 20:34:56 +0000
(20:34 +0000)
Gbp-Pq: Name d-fix-configure-for-deb-arches.patch
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 9ce1f168fc987502f3b638ebc69ec96437715059..578e483e6e52f25d45e0f0d539028a7b7212273f 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-514,8
+514,19
@@
case $CFG_CPUTYPE in
;;
armv7l)
- 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 cpu"
+ ;;
+ esac
;;
aarch64)