ports/devel/llvm-devel/files/patch-utils_llvm-build_llvmbuild_main.py
Brooks Davis ff45cfe833 Upgrade to llvm/clang r150242.
Enable installation of the shared libaray in LLVM.

Add preliminary support for building and installing the gold linker
plugin.  No option is avaiable to turn it on (use -DWITH_LTOPLUGIN)
because devel/binutils does not yet build the gold linker.
2012-02-22 23:19:27 +00:00

20 lines
711 B
Python

$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)