mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 21:33:59 +08:00
If we're building an offloading compiler, always enable the LTO front end.
* configure.ac [--enable-as-accelerator-for] (enable_languages): Make sure it contains lto. * configure: Regenerate. From-SVN: r220838
This commit is contained in:
parent
cb2d884d7d
commit
426c1eb04b
@ -1,3 +1,9 @@
|
||||
2015-02-20 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* configure.ac [--enable-as-accelerator-for] (enable_languages):
|
||||
Make sure it contains lto.
|
||||
* configure: Regenerate.
|
||||
|
||||
2015-02-18 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
8
configure
vendored
8
configure
vendored
@ -6218,6 +6218,14 @@ if test -d ${srcdir}/gcc; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# If we're building an offloading compiler, add the LTO front end.
|
||||
if test x"$enable_as_accelerator_for" != x ; then
|
||||
case ,${enable_languages}, in
|
||||
*,lto,*) ;;
|
||||
*) enable_languages="${enable_languages},lto" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
|
||||
potential_languages=,c,
|
||||
|
||||
|
@ -1918,6 +1918,14 @@ if test -d ${srcdir}/gcc; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# If we're building an offloading compiler, add the LTO front end.
|
||||
if test x"$enable_as_accelerator_for" != x ; then
|
||||
case ,${enable_languages}, in
|
||||
*,lto,*) ;;
|
||||
*) enable_languages="${enable_languages},lto" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
|
||||
potential_languages=,c,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user