From ed945ad9f1f88786284ce27883755b0d371140f2 Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Mon, 4 Jan 2010 23:46:56 +0000 Subject: 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 --- libiberty/ChangeLog | 6 ++++++ libiberty/configure | 1 + libiberty/configure.ac | 1 + 3 files changed, 8 insertions(+) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f8ba8f7..c3d8f19 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 6a3f602..77aeb56 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 6da7ea0..515bb33 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) -- cgit v1.1