aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-19 21:47:12 +0000
committerRoland McGrath <roland@gnu.org>2000-03-19 21:47:12 +0000
commit6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a (patch)
treebfff7fdceadd579fa220fe58ee59053692dc5efe
parent361742eda986901daf75169faaf648d4d132ccfb (diff)
downloadglibc-6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a.tar
glibc-6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a.tar.gz
glibc-6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a.tar.bz2
glibc-6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a.zip
* Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
for $(map-firstversions), which better handles it being empty.
-rw-r--r--ChangeLog3
-rw-r--r--Makerules4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c84cb239f..aee8adfef2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
+ * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
+ for $(map-firstversions), which better handles it being empty.
+
* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
supported version for libc 0.2.90.libio to GLIBC_2.2.
diff --git a/Makerules b/Makerules
index fefbea0342..202c92239f 100644
--- a/Makerules
+++ b/Makerules
@@ -294,9 +294,7 @@ $(common-objpfx)Versions.all: $(..)scripts/firstversions.awk \
$(..)Versions.def \
$(wildcard $(add-ons:%=$(..)%/Versions.def)) \
$(common-objpfx)soversions.mk
- { for map in $(map-firstversions); do \
- echo $$map; \
- done | sed 's/:/ : /'; \
+ { $(foreach map,$(map-firstversions),echo '$(subst :, : ,$(map))';) \
cat $(filter-out $< $(common-objpfx)soversions.mk,$^); \
} | LC_ALL=C $(AWK) -f $< > $@T
mv -f $@T $@