diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2015-09-23 16:52:50 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2015-09-23 16:52:50 +0200 |
commit | 64186aad5abe1c3e1468f172589b55a6449d6fc2 (patch) | |
tree | e56994358815ca037270fe39c1df903fc8423e3f /libgomp | |
parent | f2c9f71da9fd748bb452e69e7825e5f28e7c741d (diff) | |
download | gcc-64186aad5abe1c3e1468f172589b55a6449d6fc2.zip gcc-64186aad5abe1c3e1468f172589b55a6449d6fc2.tar.gz gcc-64186aad5abe1c3e1468f172589b55a6449d6fc2.tar.bz2 |
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
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/config.h.in | 2 | ||||
-rw-r--r-- | libgomp/plugin/configfrag.ac | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/config.h.in b/libgomp/config.h.in index 8533f03..2e4c698 100644 --- a/libgomp/config.h.in +++ b/libgomp/config.h.in @@ -95,7 +95,7 @@ */ #undef LT_OBJDIR -/* Define to hold the list of target names suitable for offloading. */ +/* Define to offload targets, separated by commas. */ #undef OFFLOAD_TARGETS /* Name of package */ diff --git a/libgomp/plugin/configfrag.ac b/libgomp/plugin/configfrag.ac index 8c2a420..ad70dd1 100644 --- a/libgomp/plugin/configfrag.ac +++ b/libgomp/plugin/configfrag.ac @@ -141,7 +141,7 @@ if test x"$enable_offload_targets" != x; then done fi AC_DEFINE_UNQUOTED(OFFLOAD_TARGETS, "$offload_targets", - [Define to hold the list of target names suitable for offloading.]) + [Define to offload targets, separated by commas.]) AM_CONDITIONAL([PLUGIN_NVPTX], [test $PLUGIN_NVPTX = 1]) AC_DEFINE_UNQUOTED([PLUGIN_NVPTX], [$PLUGIN_NVPTX], [Define to 1 if the NVIDIA plugin is built, 0 if not.]) |