pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/check Use a deterministic locale when running the r...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ee18a8e3d22
branches:  trunk
changeset: 383342:2ee18a8e3d22
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 18 00:19:34 2022 +0000

description:
Use a deterministic locale when running the relro AWK script.

diffstat:

 mk/check/check-relro.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4e9d2562c407 -r 2ee18a8e3d22 mk/check/check-relro.mk
--- a/mk/check/check-relro.mk   Wed Aug 17 22:01:58 2022 +0000
+++ b/mk/check/check-relro.mk   Thu Aug 18 00:19:34 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-relro.mk,v 1.6 2022/03/07 16:53:08 nia Exp $
+# $NetBSD: check-relro.mk,v 1.7 2022/08/18 00:19:34 joerg Exp $
 #
 # This file verifies that RELRO (read-only relocations) was applied
 # accordingly at build-time.
@@ -54,6 +54,7 @@
 .  if ${OBJECT_FMT} == "ELF"
 USE_TOOLS+=                    readelf
 CHECK_RELRO_NATIVE=            ${PKGSRCDIR}/mk/check/check-relro-elf.awk
+CHECK_RELRO_NATIVE_ENV+=       LC_ALL=C
 CHECK_RELRO_NATIVE_ENV+=       PLATFORM_RPATH=${_OPSYS_SYSTEM_RPATH:Q}
 CHECK_RELRO_NATIVE_ENV+=       READELF=${TOOLS_PATH.readelf:Q}
 .  endif



Home | Main Index | Thread Index | Old Index