pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Add support for LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fff57cfd0b30
branches:  trunk
changeset: 370858:fff57cfd0b30
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Wed Oct 25 21:45:38 2017 +0000

description:
Add support for LDFLAGS

This notably fixes building with RELRO enabled.

diffstat:

 net/wmnet/Makefile    |  5 +++--
 time/asclock/Makefile |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 964a39d50e1f -r fff57cfd0b30 net/wmnet/Makefile
--- a/net/wmnet/Makefile        Wed Oct 25 21:32:35 2017 +0000
+++ b/net/wmnet/Makefile        Wed Oct 25 21:45:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2017/09/06 10:40:31 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2017/10/25 21:51:02 khorben Exp $
 
 DISTNAME=      wmnet-1.06
 PKGREVISION=   5
@@ -16,7 +16,8 @@
 
 USE_IMAKE=     YES
 
-MAKE_FLAGS+=   CDEBUGFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   CCOPTIONS=${CFLAGS:Q}
+MAKE_FLAGS+=   LOCAL_LDFLAGS=${LDFLAGS:Q}
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r 964a39d50e1f -r fff57cfd0b30 time/asclock/Makefile
--- a/time/asclock/Makefile     Wed Oct 25 21:32:35 2017 +0000
+++ b/time/asclock/Makefile     Wed Oct 25 21:45:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2015/08/06 22:16:24 khorben Exp $
+# $NetBSD: Makefile,v 1.35 2017/10/25 21:45:38 khorben Exp $
 
 DISTNAME=      asclock-classic-1.0
 PKGNAME=       asclock-1.0
@@ -14,7 +14,8 @@
 WRKSRC=                ${WRKDIR}/asclock1.0
 USE_IMAKE=     YES
 
-MAKE_FLAGS+=   CDEBUGFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   CCOPTIONS=${CFLAGS:Q}
+MAKE_FLAGS+=   LOCAL_LDFLAGS=${LDFLAGS:Q}
 
 LANGUAGES=     en de pt nl no it sv es hu br fr cs ru uk sl id da
 



Home | Main Index | Thread Index | Old Index