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

Fixes default compilation with icc.
pull/115/head^2
Carl Eugen Hoyos 10 years ago
parent 29fd3032cc
commit ea329b60f5
  1. 2
      configure

2
configure vendored

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

Loading…
Cancel
Save