diff options
Diffstat (limited to 'lang/libLLVM')
-rw-r--r-- | lang/libLLVM/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/libLLVM/Makefile b/lang/libLLVM/Makefile index 428b9432000..2bb8288823b 100644 --- a/lang/libLLVM/Makefile +++ b/lang/libLLVM/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2017/04/10 19:49:59 maya Exp $ +# $NetBSD: Makefile,v 1.22 2017/05/01 00:43:07 maya Exp $ DISTNAME= llvm-4.0.0.src PKGNAME= ${DISTNAME:S/llvm/libLLVM/:S/.src//} @@ -23,6 +23,7 @@ CMAKE_ARG_PATH= ${WRKSRC} CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++ +CMAKE_ARGS+= -DCMAKE_CXX_LINK_FLAGS=${LDFLAGS:Q} CMAKE_ARGS+= -DLLVM_BUILD_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=OFF |