pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/llvm llvm: respect LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66875f9d7ce0
branches:  trunk
changeset: 361963:66875f9d7ce0
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon May 01 00:41:29 2017 +0000

description:
llvm: respect LDFLAGS

from Dr. Thomas Orgis via tech-pkg

diffstat:

 lang/llvm/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1cae0cc7f429 -r 66875f9d7ce0 lang/llvm/Makefile
--- a/lang/llvm/Makefile        Mon May 01 00:13:45 2017 +0000
+++ b/lang/llvm/Makefile        Mon May 01 00:41:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2017/04/20 12:56:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.18 2017/05/01 00:41:29 maya Exp $
 #
 # when updating this, please also update:
 # devel/include-what-you-use
@@ -32,6 +32,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_INCLUDE_TESTS=OFF
 CMAKE_ARGS+=   -DLLVM_INSTALL_UTILS=ON



Home | Main Index | Thread Index | Old Index