about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-19 01:23:36 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-19 01:23:36 +0000
commitb5d51280fe5c13451afebe964485184ceb0071f4 (patch)
treed829aed47d7a48c6996950f3ea753ad93c145a81 /Makerules
parent639c324856be406e80c000720151c34ec6904d87 (diff)
downloadglibc-b5d51280fe5c13451afebe964485184ceb0071f4.tar.gz
glibc-b5d51280fe5c13451afebe964485184ceb0071f4.tar.xz
glibc-b5d51280fe5c13451afebe964485184ceb0071f4.zip
Update.
2001-03-19  Andreas Schwab  <schwab@suse.de>

	* Makerules (build-shlib): Make sure exit codes get checked
	properly.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makerules b/Makerules
index 218cde1a2f..c37ae5567e 100644
--- a/Makerules
+++ b/Makerules
@@ -431,13 +431,13 @@ $(build-shlib-helper) \
 	  $(LDLIBS-$(@F:lib%.so=%).so) 2>&1 | \
 	  sed -e '/^=========/,/^=========/!d;/^=========/d' \
 	      -e 's/^.*\.hash[ 	]*:.*$$/  .note.ABI-tag : { *(.note.ABI-tag) } &/' \
-	  > $@.lds; \
-	  rm -f $@.new; \
-	  $(build-shlib-helper) -o $@ -T $@.lds \
+	  > $@.lds
+rm -f $@.new
+$(build-shlib-helper) -o $@ -T $@.lds \
 	  -Wl,--whole-archive $(csu-objpfx)abi-note.o \
 	  $(filter-out $(map-file) $(+preinit) $(+postinit),$^) \
-	  $(no-whole-archive) $(LDLIBS-$(@F:lib%.so=%).so); \
-	  rm -f $@.lds
+	  $(no-whole-archive) $(LDLIBS-$(@F:lib%.so=%).so)
+rm -f $@.lds
 endef
 else
 define build-shlib