Fix --enable-offload-targets/-foffload handling, pt. 1
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 23 Sep 2015 14:52:50 +0000 (16:52 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 23 Sep 2015 14:52:50 +0000 (16:52 +0200)
commit64186aad5abe1c3e1468f172589b55a6449d6fc2
treee56994358815ca037270fe39c1df903fc8423e3f
parentf2c9f71da9fd748bb452e69e7825e5f28e7c741d
Fix --enable-offload-targets/-foffload handling, pt. 1

gcc/
* configure.ac (offload_targets, OFFLOAD_TARGETS): Separate
offload targets by commas, not colons.
* config.in: Regenerate.
* configure: Likewise.
* gcc.c (driver::maybe_putenv_COLLECT_LTO_WRAPPER): Due to that,
instead of setting up the default offload targets here...
(process_command): ..., do it here.
libgomp/
* plugin/configfrag.ac (OFFLOAD_TARGETS): Clarify that offload
targets are separated by commas.
* config.h.in: Regenerate.

From-SVN: r228053
gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.ac
gcc/gcc.c
gcc/lto-wrapper.c
libgomp/config.h.in
libgomp/plugin/configfrag.ac