aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-11-01 14:30:12 +0000
committerPádraig Brady <P@draigBrady.com>2025-11-01 15:07:15 +0000
commitcf08d2d3b1a663c390a544b0b16e0555ff784430 (patch)
tree47a2e3c6cd2778b1b20c9ac133e9e968e86e552e
parentbuild: fix macOS build without libintl (diff)
downloadcoreutils-cf08d2d3b1a663c390a544b0b16e0555ff784430.tar.gz
coreutils-cf08d2d3b1a663c390a544b0b16e0555ff784430.zip
build: reduce explicit dependencies on macOS CoreFoundation
* src/local.mk: Revert v9.7-322-gc2e1816a5, instead relying on the more focused v9.8-79-g532cd66af. When built with --disable-nls on macOS this will result in only some commands being linked with INTL_MACOSX_LIBS, thus resulting in env(1) at least not setting a __CF_USER_TEXT_ENCODING envirnoment variable.
-rw-r--r--NEWS4
-rw-r--r--src/local.mk2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 53e5b387c..2802c0c7b 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,10 @@ GNU coreutils NEWS -*- outline -*-
regressed due to the avoidance of copy offload, seen with OpenZFS at least.
[bug introduced in coreutils-9.8]
+ `env` on macOS, for now only when built with --disable-nls,
+ will no longer always set a __CF_USER_TEXT_ENCODING environment variable.
+ [bug introduced in coreutils-9.8]
+
'numfmt' no longer reads out-of-bounds memory with trailing blanks in input.
[bug introduced with numfmt in coreutils-8.21]
diff --git a/src/local.mk b/src/local.mk
index 14f4d0c13..a8ad6b43f 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -100,7 +100,7 @@ remove_ldadd =
# replacement functions defined in libcoreutils.a.
# Similarly for $(MBRTOWC_LIB).
LDADD = src/libver.a lib/libcoreutils.a $(LIBINTL) $(MBRTOWC_LIB) \
- $(INTL_MACOSX_LIBS) lib/libcoreutils.a
+ lib/libcoreutils.a
# First, list all programs, to make listing per-program libraries easier.
# See [ below.