diff options
author | maya <maya@pkgsrc.org> | 2017-05-01 00:43:07 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2017-05-01 00:43:07 +0000 |
commit | aac014d1c8197c8b57e731200d952809d319961c (patch) | |
tree | 02b5390d7912b3320317fc3600e68f439208abba /lang/libLLVM | |
parent | 0b6708431124e22e470c10409cb8a26fa1d3d912 (diff) | |
download | pkgsrc-aac014d1c8197c8b57e731200d952809d319961c.tar.gz |
libLLVM: respect LDFLAGS
from Dr. Thomas Orgis via tech-pkg
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 |