summaryrefslogtreecommitdiff
path: root/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
diff options
context:
space:
mode:
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.py21
1 files changed, 21 insertions, 0 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
new file mode 100644
index 000000000000..9ba38635e136
--- /dev/null
+++ b/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
@@ -0,0 +1,21 @@
+--- utils/llvm-build/llvmbuild/main.py.orig
++++ utils/llvm-build/llvmbuild/main.py
+@@ -660,7 +660,17 @@
+
+ # 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',
++ 'powerpc64' : 'PowerPC',
++ 'sparc64' : 'Sparc',
++ 'x86' : 'X86',
+ 'x86_64' : 'X86',
+ 'Unknown' : None }.get(opts.native_target,
+ opts.native_target)