From ea329b60f5d361ff67f0efc1aa81de7a114abce8 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 8 Feb 2015 00:11:13 +0100 Subject: [PATCH] Do not use -mdynamic-no-pic on OSX x86_64. Fixes default compilation with icc. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0c209c5876..f31d372506 100755 --- 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*)