pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools mk/tools: Fix readelf for cross-compilation o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7c96379deed
branches:  trunk
changeset: 376182:e7c96379deed
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Sun Apr 03 10:33:44 2022 +0000

description:
mk/tools: Fix readelf for cross-compilation on NetBSD.

This is needed by check-pie.

diffstat:

 mk/tools/tools.NetBSD.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r cbaba26f4084 -r e7c96379deed mk/tools/tools.NetBSD.mk
--- a/mk/tools/tools.NetBSD.mk  Sun Apr 03 10:29:41 2022 +0000
+++ b/mk/tools/tools.NetBSD.mk  Sun Apr 03 10:33:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.NetBSD.mk,v 1.68 2021/10/22 19:00:06 jperkin Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.69 2022/04/03 10:33:44 riastradh Exp $
 #
 # System-supplied tools for the NetBSD operating system.
 
@@ -166,6 +166,8 @@
 TOOLS_CREATE+=                 ar
 TOOLS_PATH.ranlib?=            ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ranlib
 TOOLS_CREATE+=                 ranlib
+TOOLS_PATH.readelf?=           ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-readelf
+TOOLS_CREATE+=                 readelf
 
 NATIVE_CC:=    /usr/bin/cc -B /usr/libexec -B /usr/bin
 CC=            ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gcc



Home | Main Index | Thread Index | Old Index