pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/boost-jam Pass LDFLAGS when building using bjam....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d5e958a62a2
branches:  trunk
changeset: 365373:1d5e958a62a2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jul 14 18:18:57 2017 +0000

description:
Pass LDFLAGS when building using bjam. Fixes RELRO for at least boost-libs.

diffstat:

 devel/boost-jam/bjam.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 522f27679f32 -r 1d5e958a62a2 devel/boost-jam/bjam.mk
--- a/devel/boost-jam/bjam.mk   Fri Jul 14 17:35:07 2017 +0000
+++ b/devel/boost-jam/bjam.mk   Fri Jul 14 18:18:57 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bjam.mk,v 1.18 2017/05/03 08:38:40 jperkin Exp $
+# $NetBSD: bjam.mk,v 1.19 2017/07/14 18:18:57 wiz Exp $
 
 .include "../../devel/boost-jam/buildlink3.mk"
 .include "../../devel/boost-build/toolset.mk"
@@ -41,6 +41,7 @@
 BJAM_BUILD+=           variant=release
 BJAM_BUILD+=           threading=multi
 BJAM_BUILD+=           link=shared,static
+BJAM_BUILD+=           linkflags=${LDFLAGS:Q}
 
 BJAM_CMD=              ${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS}
 



Home | Main Index | Thread Index | Old Index