summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-02-08 00:11:13 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-02-08 00:11:13 +0100
commitea329b60f5d361ff67f0efc1aa81de7a114abce8 (patch)
tree8c64f185bc9b1e85d54de8f5c718532d14e6f0e9 /configure
parent29fd3032cc961c02acd45ef63aa3e687f5cd15af (diff)
Do not use -mdynamic-no-pic on OSX x86_64.
Fixes default compilation with icc.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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*)