pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/lockf Honor (CFLAGS and) LDFLAGS. Fixes RELRO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8ecb8bfda89
branches:  trunk
changeset: 365388:e8ecb8bfda89
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 15 17:03:53 2017 +0000

description:
Honor (CFLAGS and) LDFLAGS. Fixes RELRO build.

diffstat:

 sysutils/lockf/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r cdf2b65e2042 -r e8ecb8bfda89 sysutils/lockf/Makefile
--- a/sysutils/lockf/Makefile   Sat Jul 15 16:13:09 2017 +0000
+++ b/sysutils/lockf/Makefile   Sat Jul 15 17:03:53 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/10/05 16:27:25 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2017/07/15 17:03:53 wiz Exp $
 
 DISTNAME=      lockf-1
 CATEGORIES=    sysutils
@@ -23,7 +23,7 @@
 do-build:
        cd ${WRKSRC}; \
         ${ECHO} "${CC} -o lockf lockf.c"; \
-        ${CC} -o lockf lockf.c
+        ${CC} ${CFLAGS} ${LDFLAGS} -o lockf lockf.c
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/lockf ${DESTDIR}${PREFIX}/bin/lockf



Home | Main Index | Thread Index | Old Index