diff options
author | joerg <joerg> | 2017-03-24 11:43:52 +0000 |
---|---|---|
committer | joerg <joerg> | 2017-03-24 11:43:52 +0000 |
commit | 547d9bea09906b396f2dfb0c6dfde09097f39aa0 (patch) | |
tree | c1073909fde092a28f44349f3efd6a9b434ac8c5 /lang | |
parent | 1ddec13d601e1ff0a3aea375f2c9253e43a9d25f (diff) | |
download | pkgsrc-547d9bea09906b396f2dfb0c6dfde09097f39aa0.tar.gz |
Link llvm-lto2 and the other tools dynamically against libLLVM to avoid
the size penalty. The primary intention of this package is to provide a
standalone library for other consumers of LLVM and the size difference
doesn't justify the small performance penalty. Bump revision.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/libLLVM/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/libLLVM/Makefile b/lang/libLLVM/Makefile index f34a5e1ea25..9c14bc33fd1 100644 --- a/lang/libLLVM/Makefile +++ b/lang/libLLVM/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2017/03/17 22:38:18 adam Exp $ +# $NetBSD: Makefile,v 1.20 2017/03/24 11:43:52 joerg Exp $ DISTNAME= llvm-4.0.0.src PKGNAME= ${DISTNAME:S/llvm/libLLVM/:S/.src//} +PKGREVISION= 1 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tar.xz @@ -23,7 +24,9 @@ CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++ CMAKE_ARGS+= -DLLVM_BUILD_LLVM_DYLIB=ON +CMAKE_ARGS+= -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=OFF +CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib/libLLVM CMAKE_ARGS.Darwin+= -DCMAKE_LIBTOOL=/usr/bin/libtool |