diff options
author | brook <brook@pkgsrc.org> | 2017-01-16 17:26:47 +0000 |
---|---|---|
committer | brook <brook@pkgsrc.org> | 2017-01-16 17:26:47 +0000 |
commit | 5f74d79fe84c374aeb6faa308f0d28da0f0a92da (patch) | |
tree | ed6d6e77d8190b5bd8ba59eea4df19cd41426f33 /lang/libLLVM | |
parent | d05ca3cb4fe224c065d65e1abf57844051818c90 (diff) | |
download | pkgsrc-5f74d79fe84c374aeb6faa308f0d28da0f0a92da.tar.gz |
Use the system-specific libtool on Darwin.
This fixes bugs relating to unrecognized libtool options on Darwin.
Diffstat (limited to 'lang/libLLVM')
-rw-r--r-- | lang/libLLVM/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/libLLVM/Makefile b/lang/libLLVM/Makefile index 096f2b512f9..f2a7b6967cb 100644 --- a/lang/libLLVM/Makefile +++ b/lang/libLLVM/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2017/01/05 11:54:32 adam Exp $ +# $NetBSD: Makefile,v 1.17 2017/01/16 17:26:47 brook Exp $ DISTNAME= llvm-3.9.1.src PKGNAME= ${DISTNAME:S/llvm/libLLVM/:S/.src//} @@ -25,6 +25,8 @@ CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++ CMAKE_ARGS+= -DLLVM_BUILD_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=OFF +CMAKE_ARGS.Darwin+= -DCMAKE_LIBTOOL=/usr/bin/libtool + .for tool in bugpoint bugpoint_passes dsymutil llc lli llvm_ar \ llvm_as llvm_bcanalyzer llvm_c_test llvm_cov llvm_cxxdump \ llvm_diff llvm_dis llvm_dwarfdump llvm_dwp llvm_extract llvm_go \ |