From: Peter Michael Green Date: Thu, 18 May 2017 12:27:33 +0000 (+0000) Subject: Use dpkg-architecture instead of config.guess to allow building on arm64 host systems. X-Git-Tag: archive/raspbian/1%3.8.1-23+rpi1~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d9144f871c28a90b6a44ff547adbe109afcfe6c3;p=llvm-toolchain-3.8.git Use dpkg-architecture instead of config.guess to allow building on arm64 host systems. --- diff --git a/autoconf/config.guess.hack b/autoconf/config.guess.hack index 13b18bf7..dcbc8840 100644 --- a/autoconf/config.guess.hack +++ b/autoconf/config.guess.hack @@ -1,2 +1,2 @@ #!/bin/bash -e -$(dirname "$0")/config.guess | sed -r s/arm[a-zA-Z0-9]*/armv6/ +dpkg-architecture -qDEB_HOST_GNU_TYPE | sed -r s/arm/armv6/