pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/swift Honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/187d285f573b
branches:  trunk
changeset: 365423:187d285f573b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 16 14:22:58 2017 +0000

description:
Honor LDFLAGS. Fixes RELRO build.

diffstat:

 chat/swift/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fb5224e6d75b -r 187d285f573b chat/swift/Makefile
--- a/chat/swift/Makefile       Sun Jul 16 14:10:58 2017 +0000
+++ b/chat/swift/Makefile       Sun Jul 16 14:22:58 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2017/05/03 08:38:39 jperkin Exp $
+# $NetBSD: Makefile,v 1.25 2017/07/16 14:22:58 wiz Exp $
 
 DISTNAME=      swift-3.0
 PKGREVISION=   12
@@ -29,7 +29,7 @@
        cd ${WRKSRC} ; \
        ${ECHO} "qt=\"${QTDIR}\"" > config.py ;\
        ${ECHO} "qt5=1" >> config.py ;\
-       ${ECHO} "linkflags=\"-L${PREFIX}/lib -Wl,-R${QTDIR}/lib -Wl,-R${X11BASE}/lib -Wl,-R${BUILDLINK_DIR}/lib\"" >> config.py ; \
+       ${ECHO} "linkflags=\"-L${PREFIX}/lib -Wl,-R${QTDIR}/lib -Wl,-R${X11BASE}/lib -Wl,-R${BUILDLINK_DIR}/lib ${LDFLAGS}\"" >> config.py ; \
        ${ECHO} "ccflags=\"${CXXFLAGS}\"" >> config.py ; \
        ${ECHO} "allow_warnings=\"true\"" >> config.py ;
 



Home | Main Index | Thread Index | Old Index