diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-01 14:31:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-01 14:31:55 -0400 |
commit | d86d2829abc116c3e8741aa92727a5c55023088a (patch) | |
tree | 7ade2538fc8010238a8f424410b14aed8e4adb6d | |
parent | a917c03706d94564082d5ccff032a3e2c3dad537 (diff) | |
download | musl-d86d2829abc116c3e8741aa92727a5c55023088a.tar.gz musl-d86d2829abc116c3e8741aa92727a5c55023088a.tar.xz musl-d86d2829abc116c3e8741aa92727a5c55023088a.zip |
remove objcopy --weaken from the makefile
as far as I can tell, it's not useful and never way. I wrote it way back under the assumption that non-weak symbols in the POSIX or extension namespace could conflict with legitimate uses of the same symbol name in the main program or other libraries, but that does not seem to be the case.
-rw-r--r-- | Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 72b640a4..b4195544 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,6 @@ INC = -I./src/internal -I./include -I./arch/$(ARCH) PIC = -fPIC -O3 AR = $(CROSS_COMPILE)ar RANLIB = $(CROSS_COMPILE)ranlib -OBJCOPY = $(CROSS_COMPILE)objcopy ALL_INCLUDES = $(sort $(wildcard include/*.h include/*/*.h) $(GENH)) @@ -80,7 +79,6 @@ include/bits/alltypes.h: include/bits/alltypes.h.sh lib/libc.so: $(LOBJS) $(CC) $(LDFLAGS) -Wl,-soname=libc.so -o $@ $(LOBJS) -lgcc - $(OBJCOPY) --weaken $@ lib/libc.a: $(OBJS) rm -f $@ |