diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2015-04-29 16:52:45 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2015-04-29 16:52:45 +0000 |
commit | d28ad5d4c5454c0a2ca24d6dcbbc9b2da5c0aaf2 (patch) | |
tree | 43954c0b36be2904d356738ea45ea25f8ef192bd /libgcc/configure | |
parent | f82a9d904e8adb894033aa75740c9759b17bea0f (diff) | |
download | gcc-d28ad5d4c5454c0a2ca24d6dcbbc9b2da5c0aaf2.zip gcc-d28ad5d4c5454c0a2ca24d6dcbbc9b2da5c0aaf2.tar.gz gcc-d28ad5d4c5454c0a2ca24d6dcbbc9b2da5c0aaf2.tar.bz2 |
Fix libgcc installation for offload targets.
* Makefile.in (real_host_noncanonical): New variable.
(libsubdir): Use it.
* configure.ac (real_host_noncanonical): Compute. Remove special
case for intelmicemul.
* configure: Regenerate.
From-SVN: r222585
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libgcc/configure b/libgcc/configure index 08c9319..e911a9d 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -566,6 +566,7 @@ sfp_machine_header set_use_emutls set_have_cc_tls vis_hide +real_host_noncanonical accel_dir_suffix force_explicit_eh_registry fixed_point @@ -4778,17 +4779,14 @@ esac # Used for constructing correct paths for offload compilers. accel_dir_suffix= +real_host_noncanonical=${host_noncanonical} if test x"$enable_as_accelerator_for" != x; then accel_dir_suffix=/accel/${target_noncanonical} - case "${target_noncanonical}" in - *-intelmicemul-*) - # In this case we expect offload compiler to be built as native, so we - # need to change install directory for driver to be able to find libgcc. - host_noncanonical=${enable_as_accelerator_for} ;; - esac + real_host_noncanonical=${enable_as_accelerator_for} fi + if test x"$enable_offload_targets" != x; then extra_parts="${extra_parts} crtoffloadbegin.o crtoffloadend.o" fi |