diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-07 09:57:46 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-07 09:57:46 +0000 |
commit | bdc4173b8ca87ff31b4caf94dce44e17808c60e7 (patch) | |
tree | e4c91613cd3d7b05ee0a406c6dbb3edcd7dd630f /libiberty/configure | |
parent | 0cadd2ba3fa1a2caf97b2094883f5e0a9c42dfd6 (diff) |
PR target/65351
config/
* picflag.m4: Append -mno-dynamic-no-pic for Darwin.
libiberty/
* configure: Regenerate.
libada/
* configure: Regenerate.
libgcc/
* configure: Regenerate.
gcc/
* configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@221891 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libiberty/configure b/libiberty/configure index 2007ecc76b1..eaed56e3e1b 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -4887,7 +4887,9 @@ case "${host}" in *-*-darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - PICFLAG=-fno-common + # Cancel any earlier -mdynamic-no-pic, as that makes + # the code not suitable for shared libraries. + PICFLAG='-fno-common -mno-dynamic-no-pic' ;; alpha*-dec-osf5*) # PIC is the default. |