diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2004-09-24 00:43:53 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2004-09-23 17:43:53 -0700 |
commit | 91d4a4160051cf3b58f8b49f1e68076c930ab75a (patch) | |
tree | 391ff1014f8fd90fd8be02d96c10af66071c3d99 /configure.in | |
parent | 70f0bf85062f053d10d8c8d561c753ac3fda69d2 (diff) | |
download | gcc-91d4a4160051cf3b58f8b49f1e68076c930ab75a.zip gcc-91d4a4160051cf3b58f8b49f1e68076c930ab75a.tar.gz gcc-91d4a4160051cf3b58f8b49f1e68076c930ab75a.tar.bz2 |
re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1)
2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/17369
* Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@.
(configure-target-[+module+]): Add @SET_GCC_LIB_PATH@. Set and
export SET_GCC_LIB_PATH_CMD.
(configure-gcc): Likewise.
* Makefile.in: Regenerated.
* configure.in (SET_GCC_LIB_PATH): Set and substitute.
* configure: Regenerated.
config/
2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/17369
* gcc-lib-path.m4: New file.
gcc/
2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/17369
* Makefile.in (@set_gcc_lib_path@): Added.
* configure.ac: Include ../config/gcc-lib-path.m4. Use
TL_AC_GNU_MAKE_GCC_LIB_PATH.
* configure: Regenerated.
From-SVN: r88001
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1b691b6..47d8ac8 100644 --- a/configure.in +++ b/configure.in @@ -2145,4 +2145,24 @@ fi MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl +# If gcc is built natively with shared library enabled, set +# $RPATH_ENVVAR to make sure the newly built gcc shared librares are +# used. +SET_GCC_LIB_PATH= +if test -d ${srcdir}/gcc && test x${is_cross_compiler} = xno; then + case "${enable_shared}" in + no | "") ;; + *) + eval "d=\$$RPATH_ENVVAR" + if test x"$d" != x; then + d="$pwd/gcc:$d" + else + d="$pwd/gcc" + fi + SET_GCC_LIB_PATH="\$(RPATH_ENVVAR)=$d; export \$(RPATH_ENVVAR);" + ;; + esac +fi +AC_SUBST(SET_GCC_LIB_PATH) + AC_OUTPUT(Makefile) |