Do not use -mdynamic-no-pic on OSX x86_64.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 7 Feb 2015 23:11:13 +0000 (00:11 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 7 Feb 2015 23:11:13 +0000 (00:11 +0100)
Fixes default compilation with icc.

configure

index 0c209c5..f31d372 100755 (executable)
--- a/configure
+++ b/configure
@@ -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*)