Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 19 Mar 2001 01:23:36 +0000 (01:23 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 19 Mar 2001 01:23:36 +0000 (01:23 +0000)
2001-03-19  Andreas Schwab  <schwab@suse.de>

* Makerules (build-shlib): Make sure exit codes get checked
properly.

ChangeLog
Makerules

index 5ccc19d..f41e88d 100644 (file)
--- 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
index 218cde1..c37ae55 100644 (file)
--- 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