diff options
author | Anthony Ramine <[email protected]> | 2013-04-27 13:40:45 +0200 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2013-04-27 13:40:45 +0200 |
commit | 0f455b889aee9d34db7650d0a8e9bfa5b41c0942 (patch) | |
tree | 259096a6b25627a38a22e2e7a6c2d0b935410dc1 /erts/configure.in | |
parent | 7e9ae3007fd3c44a05a746628983faff401dfd0c (diff) | |
download | otp-0f455b889aee9d34db7650d0a8e9bfa5b41c0942.tar.gz otp-0f455b889aee9d34db7650d0a8e9bfa5b41c0942.tar.bz2 otp-0f455b889aee9d34db7650d0a8e9bfa5b41c0942.zip |
Do not use -mdynamic-no-pic on Darwin
Latest OS X versions ignore this flag as non PIC objects are
discouraged.
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/erts/configure.in b/erts/configure.in index 2ee907b6e4..7995c95aee 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -3576,10 +3576,7 @@ DED_EXT=so case $host_os in win32) DED_EXT=dll;; darwin*) - DED_CFLAGS="$DED_CFLAGS -fno-common" - if test "X$STATIC_CFLAGS" = "X"; then - STATIC_CFLAGS="-mdynamic-no-pic" - fi;; + DED_CFLAGS="$DED_CFLAGS -fno-common";; *) ;; esac |