Use dpkg-architecture instead of config.guess to allow building on arm64 host systems.
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 18 May 2017 12:27:33 +0000 (12:27 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 18 May 2017 12:32:05 +0000 (12:32 +0000)
autoconf/config.guess.hack

index 13b18bf7b5c91948f48fcaa1fea58ce1e2daeee0..dcbc8840cc466b3fa0992659d19b24b7cf5de0db 100644 (file)
@@ -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/