1
0
mirror of http://mpg123.de/trunk/.git synced 2025-10-29 14:09:21 +03:00

Remove unnecessary linker flags related to text relocations for OSX build

git-svn-id: svn://scm.orgis.org/mpg123/trunk@4227 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
taihei
2017-05-07 13:34:26 +00:00
parent 9e1f2ca235
commit ff81ea605e

View File

@@ -1461,21 +1461,6 @@ dnl Not disabling buffer for float mode... check that this is OK now!
;;
esac
# Mac OS X specific linker flags
case $cpu_type in
3dnow|3dnow_vintage|3dnow_alone|3dnowext|3dnowext_vintage|3dnowext_alone|mmx|mmx_alone|sse|sse_vintage|sse_alone|x86|x86_dither)
case $host in
i386-apple-darwin8*|*-apple-darwin10*)
ADD_LDFLAGS="$ADD_LDFLAGS -Wl,-read_only_relocs,suppress"
;;
i386-apple-darwin9*)
ADD_CFLAGS="$ADD_CFLAGS -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
ADD_LDFLAGS="$ADD_LDFLAGS -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -Wl,-classic_linker -Wl,-read_only_relocs,suppress"
;;
esac
;;
esac
# Use yasm instead of the default assembler for AVX sources
if test "x$use_yasm_for_avx" = "xyes"; then
case $host_os in