Build a shared host libiberty also for libcc1's benefit.
* configure.ac (extra_host_libiberty_configure_flags): Add --enable-shared also for libcc1's benefit. * configure: Regenerate. From-SVN: r216912
This commit is contained in:
parent
e0d80a586d
commit
fca380479c
3 changed files with 29 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2014-10-30 Thomas Schwinge <thomas@codesourcery.com>
|
||||||
|
|
||||||
|
* configure.ac (extra_host_libiberty_configure_flags): Add
|
||||||
|
--enable-shared also for libcc1's benefit.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2014-10-29 Tristan Gingold <gingold@adacore.com>
|
2014-10-29 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* MAINTAINERS: Change my email address.
|
* MAINTAINERS: Change my email address.
|
||||||
|
|
16
configure
vendored
16
configure
vendored
|
@ -642,8 +642,8 @@ CXXFLAGS_FOR_TARGET
|
||||||
CFLAGS_FOR_TARGET
|
CFLAGS_FOR_TARGET
|
||||||
DEBUG_PREFIX_CFLAGS_FOR_TARGET
|
DEBUG_PREFIX_CFLAGS_FOR_TARGET
|
||||||
SYSROOT_CFLAGS_FOR_TARGET
|
SYSROOT_CFLAGS_FOR_TARGET
|
||||||
stage1_languages
|
|
||||||
extra_host_libiberty_configure_flags
|
extra_host_libiberty_configure_flags
|
||||||
|
stage1_languages
|
||||||
extra_linker_plugin_flags
|
extra_linker_plugin_flags
|
||||||
extra_linker_plugin_configure_flags
|
extra_linker_plugin_configure_flags
|
||||||
clooginc
|
clooginc
|
||||||
|
@ -6259,7 +6259,6 @@ if test -d ${srcdir}/gcc; then
|
||||||
new_enable_languages=,c,
|
new_enable_languages=,c,
|
||||||
|
|
||||||
# If LTO is enabled, add the LTO front end.
|
# If LTO is enabled, add the LTO front end.
|
||||||
extra_host_libiberty_configure_flags=
|
|
||||||
if test "$enable_lto" = "yes" ; then
|
if test "$enable_lto" = "yes" ; then
|
||||||
case ,${enable_languages}, in
|
case ,${enable_languages}, in
|
||||||
*,lto,*) ;;
|
*,lto,*) ;;
|
||||||
|
@ -6267,11 +6266,9 @@ if test -d ${srcdir}/gcc; then
|
||||||
esac
|
esac
|
||||||
if test "${build_lto_plugin}" = "yes" ; then
|
if test "${build_lto_plugin}" = "yes" ; then
|
||||||
configdirs="$configdirs lto-plugin"
|
configdirs="$configdirs lto-plugin"
|
||||||
extra_host_libiberty_configure_flags=--enable-shared
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
|
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
|
||||||
potential_languages=,c,
|
potential_languages=,c,
|
||||||
|
|
||||||
|
@ -6584,6 +6581,17 @@ then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Sometimes we have special requirements for the host libiberty.
|
||||||
|
extra_host_libiberty_configure_flags=
|
||||||
|
case " $configdirs " in
|
||||||
|
*" lto-plugin "* | *" libcc1 "*)
|
||||||
|
# When these are to be built as shared libraries, the same applies to
|
||||||
|
# libiberty.
|
||||||
|
extra_host_libiberty_configure_flags=--enable-shared
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
# Produce a warning message for the subdirs we can't configure.
|
# Produce a warning message for the subdirs we can't configure.
|
||||||
# This isn't especially interesting in the Cygnus tree, but in the individual
|
# This isn't especially interesting in the Cygnus tree, but in the individual
|
||||||
# FSF releases, it's important to let people know when their machine isn't
|
# FSF releases, it's important to let people know when their machine isn't
|
||||||
|
|
14
configure.ac
14
configure.ac
|
@ -1852,7 +1852,6 @@ if test -d ${srcdir}/gcc; then
|
||||||
new_enable_languages=,c,
|
new_enable_languages=,c,
|
||||||
|
|
||||||
# If LTO is enabled, add the LTO front end.
|
# If LTO is enabled, add the LTO front end.
|
||||||
extra_host_libiberty_configure_flags=
|
|
||||||
if test "$enable_lto" = "yes" ; then
|
if test "$enable_lto" = "yes" ; then
|
||||||
case ,${enable_languages}, in
|
case ,${enable_languages}, in
|
||||||
*,lto,*) ;;
|
*,lto,*) ;;
|
||||||
|
@ -1860,10 +1859,8 @@ if test -d ${srcdir}/gcc; then
|
||||||
esac
|
esac
|
||||||
if test "${build_lto_plugin}" = "yes" ; then
|
if test "${build_lto_plugin}" = "yes" ; then
|
||||||
configdirs="$configdirs lto-plugin"
|
configdirs="$configdirs lto-plugin"
|
||||||
extra_host_libiberty_configure_flags=--enable-shared
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_SUBST(extra_host_libiberty_configure_flags)
|
|
||||||
|
|
||||||
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
|
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
|
||||||
potential_languages=,c,
|
potential_languages=,c,
|
||||||
|
@ -2177,6 +2174,17 @@ then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Sometimes we have special requirements for the host libiberty.
|
||||||
|
extra_host_libiberty_configure_flags=
|
||||||
|
case " $configdirs " in
|
||||||
|
*" lto-plugin "* | *" libcc1 "*)
|
||||||
|
# When these are to be built as shared libraries, the same applies to
|
||||||
|
# libiberty.
|
||||||
|
extra_host_libiberty_configure_flags=--enable-shared
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_SUBST(extra_host_libiberty_configure_flags)
|
||||||
|
|
||||||
# Produce a warning message for the subdirs we can't configure.
|
# Produce a warning message for the subdirs we can't configure.
|
||||||
# This isn't especially interesting in the Cygnus tree, but in the individual
|
# This isn't especially interesting in the Cygnus tree, but in the individual
|
||||||
# FSF releases, it's important to let people know when their machine isn't
|
# FSF releases, it's important to let people know when their machine isn't
|
||||||
|
|
Loading…
Add table
Reference in a new issue