aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makerules10
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ccc19d..f41e88d 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 218cde1..c37ae55 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