about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--Makerules10
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ccc19d550..f41e88db93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-19  Andreas Schwab  <schwab@suse.de>
+
+	* Makerules (build-shlib): Make sure exit codes get checked
+	properly.
+
 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
 
 	* Makerules (build-shlib): Remove unnecessary slashes introduced in
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