OSDN Git Service

2008-04-21 Aurelien Jarno <aurelien@aurel32.net>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Apr 2008 21:23:34 +0000 (21:23 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Apr 2008 21:23:34 +0000 (21:23 +0000)
        * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
        * libiberty/configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134534 138bc75d-0d04-0410-961f-82ee72b054a4

libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac

index 8071825..18d7707 100644 (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.
index f47833a..83e55b8 100755 (executable)
@@ -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
index f5df558..419351b 100644 (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