summaryrefslogtreecommitdiff
path: root/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2014-09-25 14:01:33 +0000
committerBrooks Davis <brooks@FreeBSD.org>2014-09-25 14:01:33 +0000
commita346ff16d3c0464eb614ba46da0f8dd055363010 (patch)
treeb188fe4409bf5d1c72c1b2b4c6e85d2ff4133756 /devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
parentscience/mpqc: Don't override libtool -version-info, bump dependent ports (diff)
Enable builds on/for Raspberry Pi and other arm variants.
USES=python PR: 191996 Submitted by: direct727@gmail.com Sponsored by: DARPA, AFRL
Diffstat (limited to 'devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py')
-rw-r--r--devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py b/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
index 1e2de0273d55..1ce78539be13 100644
--- a/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
+++ b/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
@@ -3,13 +3,16 @@ $FreeBSD$
--- utils/llvm-build/llvmbuild/main.py.orig
+++ utils/llvm-build/llvmbuild/main.py
-@@ -633,7 +633,13 @@
+@@ -699,7 +699,16 @@
# We handle a few special cases of target names here for historical
# reasons, as these are the names configure currently comes up with.
- native_target_name = { 'x86' : 'X86',
+ native_target_name = { 'amd64' : 'X86',
+ 'arm' : 'ARM',
++ 'armeb' : 'ARM',
++ 'armv6' : 'ARM',
++ 'armv6hf' : 'ARM',
+ 'i386' : 'X86',
+ 'mips' : 'Mips',
+ 'powerpc' : 'PowerPC',