diff options
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgcc/configure b/libgcc/configure index 9d567f9d48c..54e8712b49e 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -2305,7 +2305,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. |