Commit ea329b60 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

Fixes default compilation with icc.
parent 29fd3032
......@@ -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*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment