aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-18 16:03:07 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-18 16:03:07 +0000
commit2f53aec963a74eb106eb1940482145863a1f6861 (patch)
tree4c75de5cc7917eb8d474f712c980951fd17a6fb5 /Makerules
parent71e1637e40867003435e923bff2a15455b6a9946 (diff)
downloadglibc-2f53aec963a74eb106eb1940482145863a1f6861.zip
glibc-2f53aec963a74eb106eb1940482145863a1f6861.tar.gz
glibc-2f53aec963a74eb106eb1940482145863a1f6861.tar.bz2
Update.
2001-04-02 Andreas Schwab <schwab@suse.de> * Makerules (build-module): Make sure exit codes get checked properly and remove unnecessary slashes.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makerules b/Makerules
index c37ae55..77951f3 100644
--- a/Makerules
+++ b/Makerules
@@ -462,17 +462,17 @@ ifeq (yes,$(elf))
# not for shared objects
define build-module
$(build-module-helper) \
- -o $@.new $(csu-objpfx)/abi-note.o -Wl,--verbose \
+ -o $@.new $(csu-objpfx)abi-note.o -Wl,--verbose \
$(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-module-helper) -o $@ -T $@.lds \
- -Wl,--whole-archive $(csu-objpfx)/abi-note.o \
+ > $@.lds
+rm -f $@.new
+$(build-module-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-module