diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-29 01:36:30 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-29 01:36:30 +0000 |
commit | 01c9aec794f83a774ce2268236273ed4e6b9ad5d (patch) | |
tree | 3da38d2425d620e4613e92dd8468dbaa4d18345f /Rules.mak | |
parent | 47d8fab86e0146c32cd6b5392bf0fb11a926a5b6 (diff) |
Add -o /dev/null to AS_NEEDED check linker script check, else a.out polution all over the place
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -260,7 +260,7 @@ ifndef ASNEEDED ifneq ($(UCLIBC_HAS_SSP),y) export ASNEEDED:= else -export ASNEEDED:=$(shell (LD_TMP=$(mktemp LD_XXXXXX) ; echo "GROUP ( AS_NEEDED ( /usr/lib/libc.so ) )" > $LD_TMP && if $(LD) -T $LD_TMP > /dev/null 2>&1; then echo "AS_NEEDED ( $(UCLIBC_LDSO) )"; else echo "$(UCLIBC_LDSO)"; fi; rm -f $LD_TMP ) ) +export ASNEEDED:=$(shell (LD_TMP=$(mktemp LD_XXXXXX) ; echo "GROUP ( AS_NEEDED ( /usr/lib/libc.so ) )" > $LD_TMP && if $(LD) -T $LD_TMP -o /dev/null > /dev/null 2>&1; then echo "AS_NEEDED ( $(UCLIBC_LDSO) )"; else echo "$(UCLIBC_LDSO)"; fi; rm -f $LD_TMP ) ) endif endif |