diff options
author | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-02 12:48:21 +0000 |
---|---|---|
committer | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-02 12:48:21 +0000 |
commit | 071822e70273f6df33adee3ac278c229caeabf0a (patch) | |
tree | f5359e198826462ad8a0ec11496d5c301d46d671 /libgomp/configure | |
parent | bf57e97e03d046a6109d976bc098e197f220d1b9 (diff) | |
download | gcc-071822e70273f6df33adee3ac278c229caeabf0a.tar.gz |
libgomp: For hsa offloading, compilation is all handled by the target compiler
libgomp/
* plugin/configfrag.ac (offload_additional_options)
(offload_additional_lib_paths): Don't amend for hsa offloading.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233071 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/configure')
-rwxr-xr-x | libgomp/configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgomp/configure b/libgomp/configure index d34a350e048..f643bf8f670 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -15434,7 +15434,10 @@ rm -f core conftest.err conftest.$ac_objext \ else offload_targets=$offload_targets,$tgt_name fi - if test x"$tgt_dir" != x; then + if test "$tgt_name" = hsa; then + # Offloading compilation is all handled by the target compiler. + : + elif test x"$tgt_dir" != x; then offload_additional_options="$offload_additional_options -B$tgt_dir/libexec/gcc/\$(target_alias)/\$(gcc_version) -B$tgt_dir/bin" offload_additional_lib_paths="$offload_additional_lib_paths:$tgt_dir/lib64:$tgt_dir/lib:$tgt_dir/lib32" else |