* Makerules (Versions.all): Use $(foreach ...) instead of sh for loop

for $(map-firstversions), which better handles it being empty.
This commit is contained in:
Roland McGrath 2000-03-19 21:47:12 +00:00
parent 361742eda9
commit 6b3c3a3525
2 changed files with 4 additions and 3 deletions

View File

@ -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.

View File

@ -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 $@