diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-31 00:40:33 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-31 00:40:33 -0500 |
commit | 65498f289bded83afb809b24d850647e7c91cd58 (patch) | |
tree | 7f7ed77e26f238f71e0c449e6073f2d8789c5167 /Makefile | |
parent | c18d05f0e8909ec54252b251c441b5dd903268f8 (diff) | |
download | musl-65498f289bded83afb809b24d850647e7c91cd58.tar.gz musl-65498f289bded83afb809b24d850647e7c91cd58.tar.xz musl-65498f289bded83afb809b24d850647e7c91cd58.zip |
don't suppress shared libc when linker lacks -Bsymbolic-functions
previous work overhauling the dynamic linker made it so that linking libc with -Bsymbolic-functions was no longer mandatory, but the configure logic that forced --disable-shared when ld failed to accept the option was left in place. this commit removes the hard-coded -Bsymbolic-functions from the Makefile and changes the configure test to one that simply adds it to the auto-detected LDFLAGS on success.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 7c3dda4b..b2a719db 100644 --- a/Makefile +++ b/Makefile @@ -159,8 +159,7 @@ obj/%.lo: $(srcdir)/%.c $(GENH) $(IMPH) lib/libc.so: $(LOBJS) $(LDSO_OBJS) $(CC) $(CFLAGS_ALL) $(LDFLAGS_ALL) -nostdlib -shared \ - -Wl,-e,_dlstart -Wl,-Bsymbolic-functions \ - -o $@ $(LOBJS) $(LDSO_OBJS) $(LIBCC) + -Wl,-e,_dlstart -o $@ $(LOBJS) $(LDSO_OBJS) $(LIBCC) lib/libc.a: $(AOBJS) rm -f $@ |