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
This commit is contained in:
Aurelien Jarno 2008-04-21 21:23:34 +00:00 committed by Matthias Klose
parent 6384205f42
commit 951b54cc3b
3 changed files with 7 additions and 0 deletions

View File

@ -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.

1
libiberty/configure vendored
View File

@ -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

View File

@ -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