pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/cpuid cpuid: fix RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47ce2c889114
branches:  trunk
changeset: 444786:47ce2c889114
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 13 08:00:21 2021 +0000

description:
cpuid: fix RELRO build.

Bump PKGREVISION.

diffstat:

 sysutils/cpuid/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9c7f90eb347b -r 47ce2c889114 sysutils/cpuid/Makefile
--- a/sysutils/cpuid/Makefile   Tue Jan 12 21:06:20 2021 +0000
+++ b/sysutils/cpuid/Makefile   Wed Jan 13 08:00:21 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2019/06/24 10:59:41 nia Exp $
+# $NetBSD: Makefile,v 1.11 2021/01/13 08:00:21 wiz Exp $
 
 DISTNAME=      cpuid-3.3
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  http://www.ka9q.net/code/cpuid/
 
@@ -14,7 +15,7 @@
 INSTALLATION_DIRS=     bin
 
 do-build:
-       cd ${WRKSRC} && ${CC} ${CFLAGS} cpuid.c -o cpuid
+       cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} cpuid.c -o cpuid
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${DESTDIR}${PREFIX}/bin



Home | Main Index | Thread Index | Old Index