From f06ed19605379f3e04c6b08d67340327087e59d3 Mon Sep 17 00:00:00 2001 From: maya Date: Mon, 1 May 2017 00:43:07 +0000 Subject: libLLVM: respect LDFLAGS from Dr. Thomas Orgis via tech-pkg --- lang/libLLVM/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang/libLLVM') 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 -- cgit v1.2.3