summaryrefslogtreecommitdiff
path: root/lang/clang35/files/patch-utils_llvm-build_llvmbuild_main.py
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2014-08-01 22:38:44 +0000
committerBrooks Davis <brooks@FreeBSD.org>2014-08-01 22:38:44 +0000
commite88f73c0a6943081626839f63878969f13ae7740 (patch)
treeb5ce750328b824a2f36d10be75e02169d0035ae2 /lang/clang35/files/patch-utils_llvm-build_llvmbuild_main.py
parentwww/py-django-datetime-widget (diff)
Add ports of LLVM and Clang 3.5rc1.
In the LLVM port the option to build cmake support files is disabled by default because it fails to configure when built with gcc47. The Clang port is marked broken if the compiler isn't clang due to link errors when it is gcc47.
Diffstat (limited to 'lang/clang35/files/patch-utils_llvm-build_llvmbuild_main.py')
-rw-r--r--lang/clang35/files/patch-utils_llvm-build_llvmbuild_main.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/clang35/files/patch-utils_llvm-build_llvmbuild_main.py b/lang/clang35/files/patch-utils_llvm-build_llvmbuild_main.py
new file mode 100644
index 000000000000..1e2de0273d55
--- /dev/null
+++ b/lang/clang35/files/patch-utils_llvm-build_llvmbuild_main.py
@@ -0,0 +1,20 @@
+
+$FreeBSD$
+
+--- utils/llvm-build/llvmbuild/main.py.orig
++++ utils/llvm-build/llvmbuild/main.py
+@@ -633,7 +633,13 @@
+
+ # 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',
++ 'i386' : 'X86',
++ 'mips' : 'Mips',
++ 'powerpc' : 'PowerPC',
++ 'sparc64' : 'Sparc',
++ 'x86' : 'X86',
+ 'x86_64' : 'X86',
+ 'Unknown' : None }.get(opts.native_target,
+ opts.native_target)