build-module
Andreas Schwab
schwab@suse.de
Mon Apr 2 05:00:00 GMT 2001
The same changes as for build-shlib are needed for build-module.
2001-04-02 Andreas Schwab <schwab@suse.de>
* Makerules (build-module): Make sure exit codes get checked
properly and remove unnecessary slashes.
--- Makerules.~1.348.~ Mon Mar 19 15:04:47 2001
+++ Makerules Mon Apr 2 13:53:14 2001
@@ -462,17 +462,17 @@
# 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
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
More information about the Libc-hacker
mailing list