aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2015-09-23 16:52:50 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2015-09-23 16:52:50 +0200
commit64186aad5abe1c3e1468f172589b55a6449d6fc2 (patch)
treee56994358815ca037270fe39c1df903fc8423e3f /gcc/configure
parentf2c9f71da9fd748bb452e69e7825e5f28e7c741d (diff)
downloadgcc-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 'gcc/configure')
-rwxr-xr-xgcc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index 6fb11a7..7493c80 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -7696,7 +7696,7 @@ for tgt in `echo $enable_offload_targets | sed 's/,/ /g'`; do
if test x"$offload_targets" = x; then
offload_targets=$tgt
else
- offload_targets="$offload_targets:$tgt"
+ offload_targets="$offload_targets,$tgt"
fi
done