check for ld support of -Bsymbolic-functions; disable shared if not avail
authorRich Felker <dalias@aerifal.cx>
Thu, 7 Jun 2012 04:32:22 +0000 (00:32 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 7 Jun 2012 04:32:22 +0000 (00:32 -0400)
commit498a100d05666024fd0d409a27709a03e7e58dd3
tree9692805101674cf4a35e72b425870381750e2027
parentf1fd7577ba7eb2a202833e89c63b8e01dedfca05
check for ld support of -Bsymbolic-functions; disable shared if not avail

this issue affects the last gpl2 version of binutils, which some
people are still using out of aversion to gpl3. musl requires
-Bsymbolic-functions because it's the only way to make a libc.so
that's able to operate prior to dynamic linking but that still behaves
correctly with respect to global vars that may be moved to the main
program via copy relocations.
configure