summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 1 insertions, 3 deletions
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 $@