diff options
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/configure b/libiberty/configure index 5c4dda5d1d55..868793558f06 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -5097,7 +5097,7 @@ case "${host}" in # If we are using a compiler supporting mdynamic-no-pic # and the option has been tested as safe to add, then cancel # it here, since the code generated is incompatible with shared - # libs. + # libs. *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;; *) PICFLAG=-fno-common ;; esac @@ -5146,7 +5146,8 @@ case "${host}" in PICFLAG=-fpic ;; # FIXME: Simplify to sh*-*-netbsd*? - sh-*-netbsdelf* | shl*-*-netbsdelf*) + sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ + sh64-*-netbsd* | sh64l*-*-netbsd*) PICFLAG=-fpic ;; # Default to -fPIC unless specified otherwise. |