Skip to content

Commit

Permalink
* Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
Browse files Browse the repository at this point in the history
	for $(map-firstversions), which better handles it being empty.
  • Loading branch information
Roland McGrath committed Mar 19, 2000
1 parent 361742e commit 6b3c3a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 1 addition & 3 deletions Makerules
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@
Expand Down

0 comments on commit 6b3c3a3

Please sign in to comment.