pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/libLLVM libLLVM: respect LDFLAGS
details: https://anonhg.NetBSD.org/pkgsrc/rev/ddffc420b5bb
branches: trunk
changeset: 361964:ddffc420b5bb
user: maya <maya%pkgsrc.org@localhost>
date: Mon May 01 00:43:07 2017 +0000
description:
libLLVM: respect LDFLAGS
from Dr. Thomas Orgis via tech-pkg
diffstat:
lang/libLLVM/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 66875f9d7ce0 -r ddffc420b5bb lang/libLLVM/Makefile
--- a/lang/libLLVM/Makefile Mon May 01 00:41:29 2017 +0000
+++ b/lang/libLLVM/Makefile Mon May 01 00:43:07 2017 +0000
@@ -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_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
Home |
Main Index |
Thread Index |
Old Index