summaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-21 21:23:34 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-21 21:23:34 +0000
commit4b6a79235f468fdc9f91f05f01a73357e4e2975e (patch)
tree60bde344dea4694f660a62084cef040bda37bb0c /libiberty/configure.ac
parentd3bc173dbecf38ba322bbd9210bf3ca553b61f03 (diff)
downloadgcc-4b6a79235f468fdc9f91f05f01a73357e4e2975e.tar.gz
2008-04-21 Aurelien Jarno <aurelien@aurel32.net>
* 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
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac1
1 files changed, 1 insertions, 0 deletions
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