summaryrefslogtreecommitdiff
path: root/sysutils/cpuid
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-01-13 08:00:21 +0000
committerwiz <wiz@pkgsrc.org>2021-01-13 08:00:21 +0000
commitab56bf57a59e4c34041b5e732ad2f0bcb3be9007 (patch)
tree233f668aff71f0143dcd8fdf8f8d2ee14508a086 /sysutils/cpuid
parent3afcb30cd9e11b9454140c44720a47640ca87401 (diff)
downloadpkgsrc-ab56bf57a59e4c34041b5e732ad2f0bcb3be9007.tar.gz
cpuid: fix RELRO build.
Bump PKGREVISION.
Diffstat (limited to 'sysutils/cpuid')
-rw-r--r--sysutils/cpuid/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/cpuid/Makefile b/sysutils/cpuid/Makefile
index d54b095ccce..694a36ffb04 100644
--- a/sysutils/cpuid/Makefile
+++ b/sysutils/cpuid/Makefile
@@ -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 @@ ONLY_FOR_PLATFORM+= *-*-x86_64
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