From: Nobuhiro Iwamatsu Date: Mon, 4 Jan 2010 23:46:56 +0000 (+0000) Subject: re PR target/42316 ([SH] `builddir-single/libiberty/pic/libiberty.a': No such file... X-Git-Tag: releases/gcc-4.5.0~1398 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed945ad9f1f88786284ce27883755b0d371140f2;p=thirdparty%2Fgcc.git re PR target/42316 ([SH] `builddir-single/libiberty/pic/libiberty.a': No such file or directory) PR target/42316 * configure.ac (PICFLAG): Use -fPIC on SH hosts. * configure: Regenerate. From-SVN: r155634 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f8ba8f7909d5..c3d8f196b27f 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2010-01-04 Nobuhiro Iwamatsu + + PR target/42316 + * configure.ac (PICFLAG): Use -fPIC on SH hosts. + * configure: Regenerate. + 2009-12-07 Doug Evans * pex-unix.c (pex_unix_exec_child): Save/restore environ. diff --git a/libiberty/configure b/libiberty/configure index 6a3f6028d203..77aeb56c707f 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -4860,6 +4860,7 @@ if [ "${shared}" = "yes" ]; then * ) PICFLAG=-fPIC ;; esac ;; s390*-*-*) PICFLAG=-fpic ;; + sh*-*-*) PICFLAG=-fPIC ;; esac fi diff --git a/libiberty/configure.ac b/libiberty/configure.ac index 6da7ea0869fd..515bb3384419 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -217,6 +217,7 @@ if [[ "${shared}" = "yes" ]]; then * ) PICFLAG=-fPIC ;; esac ;; s390*-*-*) PICFLAG=-fpic ;; + sh*-*-*) PICFLAG=-fPIC ;; esac fi AC_SUBST(PICFLAG)