diff options
author | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-23 14:52:50 +0000 |
---|---|---|
committer | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-23 14:52:50 +0000 |
commit | daa8f58fd840e8d35f362306fb54e1963f4cbd0f (patch) | |
tree | e56994358815ca037270fe39c1df903fc8423e3f /libgomp | |
parent | df67b98cfa2f5943ddc469380abf4f3821f0f6af (diff) | |
download | gcc-daa8f58fd840e8d35f362306fb54e1963f4cbd0f.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228053 138bc75d-0d04-0410-961f-82ee72b054a4
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 8533f0345b7..2e4c6981aea 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 8c2a420d793..ad70dd1f3e8 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.]) |