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
This commit is contained in:
Nobuhiro Iwamatsu 2010-01-04 23:46:56 +00:00 committed by Kaz Kojima
parent a7d04a5357
commit ed945ad9f1
3 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
PR target/42316
* configure.ac (PICFLAG): Use -fPIC on SH hosts.
* configure: Regenerate.
2009-12-07 Doug Evans <dje@google.com>
* pex-unix.c (pex_unix_exec_child): Save/restore environ.

1
libiberty/configure vendored
View file

@ -4860,6 +4860,7 @@ if [ "${shared}" = "yes" ]; then
* ) PICFLAG=-fPIC ;;
esac ;;
s390*-*-*) PICFLAG=-fpic ;;
sh*-*-*) PICFLAG=-fPIC ;;
esac
fi

View file

@ -217,6 +217,7 @@ if [[ "${shared}" = "yes" ]]; then
* ) PICFLAG=-fPIC ;;
esac ;;
s390*-*-*) PICFLAG=-fpic ;;
sh*-*-*) PICFLAG=-fPIC ;;
esac
fi
AC_SUBST(PICFLAG)