From: Michael Tremer Date: Sat, 24 Jan 2026 14:28:13 +0000 (+0000) Subject: coreutils: Fix build against glibc >= 2.43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a8f3d602b0add100b06adaf2ceb264a92e9bb05;p=ipfire-2.x.git coreutils: Fix build against glibc >= 2.43 Signed-off-by: Michael Tremer --- diff --git a/lfs/coreutils b/lfs/coreutils index 3ab75ac57..6bedd56c0 100644 --- a/lfs/coreutils +++ b/lfs/coreutils @@ -48,8 +48,6 @@ CONFIGURE_OPTIONS += \ --with-tty-group \ gl_cv_func_mknod_works=yes -CFLAGS += -fno-strict-aliasing - ############################################################################### # Top-level Rules ############################################################################### @@ -88,6 +86,8 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && sed -i 's/^\(_GL_EXTERN_C wchar_t \*\)wmemchr (/\1(wmemchr) (/' lib/wchar.in.h + cd $(DIR_APP) && sed -i 's/^\(_GL_EXTERN_C void \*\)bsearch (/\1(bsearch) (/' lib/stdlib.in.h cd $(DIR_APP) && ./configure $(CONFIGURE_OPTIONS) cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install