Do not use -mdynamic-no-pic on OSX x86_64.

Fixes default compilation with icc.
This commit is contained in:
Carl Eugen Hoyos 2015-02-08 00:11:13 +01:00
parent 29fd3032cc
commit ea329b60f5

2
configure vendored
View File

@ -4069,7 +4069,7 @@ case $target_os in
SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'
objformat="macho"
enabled x86_64 && objformat="macho64"
enabled_any pic shared ||
enabled_any pic shared x86_64 ||
{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
;;
mingw32*)