[packages/glibc] pass AWK as configure arg
atler
atler at pld-linux.org
Fri Jul 31 14:30:56 CEST 2026
commit 345a59208cb7eab4e60bc1145a629f95847b807b
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Jul 31 14:27:15 2026 +0200
pass AWK as configure arg
it was ineffective with new %configure macro.
while at it drop explicit passing of AWK directly to make invocations as
it seems redundant.
glibc.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index fad49a6..d400246 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -937,8 +937,8 @@ ln -sf %{_bindir}/ld.bfd alt-tools/ld
PATH=$(pwd)/alt-tools:$PATH; export PATH
%define configuredir ..
-AWK="gawk" \
%configure \
+ AWK="gawk" \
%if %{with cet}
--enable-cet \
%endif
@@ -960,14 +960,12 @@ AWK="gawk" \
# hack: libgd (used by memusagestat) requires librt, which is built after malloc/ subdir.
# First build all without libgd-dependent components (LIBGD=no)...
%{__make} \
- AWK="gawk" \
complocaledir=%{_prefix}/lib/locale \
sLIBdir=%{_libdir} \
LIBGD=no
# ...then, when librt is ready, rerun make to build memusagestat
%{__make} \
- AWK="gawk" \
complocaledir=%{_prefix}/lib/locale \
sLIBdir=%{_libdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/345a59208cb7eab4e60bc1145a629f95847b807b
More information about the pld-cvs-commit
mailing list