abea2dabb7
- Fix ARM v5/v7 builds OBS-URL: https://build.opensuse.org/request/show/179941 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=224
24 lines
678 B
Diff
24 lines
678 B
Diff
Index: llvm-3.3/autoconf/config.guess
|
|
===================================================================
|
|
--- llvm-3.3.orig/autoconf/config.guess
|
|
+++ llvm-3.3/autoconf/config.guess
|
|
@@ -885,13 +885,11 @@ EOF
|
|
then
|
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
else
|
|
- if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
- | grep -q __ARM_PCS_VFP
|
|
- then
|
|
- echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
|
- else
|
|
- echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
|
- fi
|
|
+ if uname -a | grep -q "armv7"; then
|
|
+ echo armv7hl-suse-linux-gnueabi
|
|
+ else
|
|
+ echo armv5tel-suse-linux-gnueabi
|
|
+ fi
|
|
fi
|
|
exit ;;
|
|
avr32*:Linux:*:*)
|