diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2008-04-21 21:23:34 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2008-04-21 21:23:34 +0000 |
commit | 951b54cc3ba8181f67c3297cf9b1d985fc7c4ab9 (patch) | |
tree | 60bde344dea4694f660a62084cef040bda37bb0c /libiberty | |
parent | 6384205f4204499970dc4cd7e6e246a417eeea34 (diff) | |
download | gcc-951b54cc3ba8181f67c3297cf9b1d985fc7c4ab9.zip gcc-951b54cc3ba8181f67c3297cf9b1d985fc7c4ab9.tar.gz gcc-951b54cc3ba8181f67c3297cf9b1d985fc7c4ab9.tar.bz2 |
configure.ac: use -fPIC on Linux/MIPS hosts.
2008-04-21 Aurelien Jarno <aurelien@aurel32.net>
* libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
* libiberty/configure: Regenerate.
From-SVN: r134534
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rwxr-xr-x | libiberty/configure | 1 | ||||
-rw-r--r-- | libiberty/configure.ac | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 8071825..18d7707 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2008-04-21 Aurelien Jarno <aurelien@aurel32.net> + + * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. + * libiberty/configure: Regenerate. + 2008-04-18 Kris Van Hees <kris.van.hees@oracle.com> * testsuite/demangle-expected: Added tests for char16_t and char32_t. diff --git a/libiberty/configure b/libiberty/configure index f47833a..83e55b8 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -3729,6 +3729,7 @@ if [ "${shared}" = "yes" ]; then i[34567]86-*-* | x86_64-*-*) PICFLAG=-fpic ;; m68k-*-*) PICFLAG=-fpic ;; + mips*-*-linux) PICFLAG=-fPIC ;; powerpc*-*-aix*) ;; powerpc*-*-*) PICFLAG=-fPIC ;; sparc*-*-*) case "${CFLAGS}" in diff --git a/libiberty/configure.ac b/libiberty/configure.ac index f5df558..419351b 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -208,6 +208,7 @@ if [[ "${shared}" = "yes" ]]; then i[[34567]]86-*-* | x86_64-*-*) PICFLAG=-fpic ;; m68k-*-*) PICFLAG=-fpic ;; + mips*-*-linux) PICFLAG=-fPIC ;; powerpc*-*-aix*) ;; powerpc*-*-*) PICFLAG=-fPIC ;; sparc*-*-*) case "${CFLAGS}" in |