From: Aurelien Jarno Date: Mon, 21 Apr 2008 21:23:34 +0000 (+0000) Subject: configure.ac: use -fPIC on Linux/MIPS hosts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=951b54cc3ba8181f67c3297cf9b1d985fc7c4ab9;p=gcc.git configure.ac: use -fPIC on Linux/MIPS hosts. 2008-04-21 Aurelien Jarno * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. * libiberty/configure: Regenerate. From-SVN: r134534 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 80718252984..18d77077aca 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2008-04-21 Aurelien Jarno + + * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. + * libiberty/configure: Regenerate. + 2008-04-18 Kris Van Hees * testsuite/demangle-expected: Added tests for char16_t and char32_t. diff --git a/libiberty/configure b/libiberty/configure index f47833ad97b..83e55b8eb6c 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 f5df5582b36..419351bbb93 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