diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2019-01-17 12:27:46 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@gcc.gnu.org> | 2019-01-17 12:27:46 +0000 |
commit | 5ab99fa41cbd172a893947a87f72bfaee3a72c53 (patch) | |
tree | ddc37902a46024632f83d3a8ba170369cc33801d /libgfortran/configure | |
parent | 3d058ebb6ffcac960aa8604ce56b9077854b582a (diff) | |
download | gcc-5ab99fa41cbd172a893947a87f72bfaee3a72c53.zip gcc-5ab99fa41cbd172a893947a87f72bfaee3a72c53.tar.gz gcc-5ab99fa41cbd172a893947a87f72bfaee3a72c53.tar.bz2 |
GCN libgfortran.
This patch contains the GCN port of libgfortran. We use the minimal
configuration created for NVPTX. That's all that's required, besides the
target-independent bug fixes posted already.
2019-01-17 Andrew Stubbs <ams@codesourcery.com>
Kwok Cheung Yeung <kcy@codesourcery.com>
Julian Brown <julian@codesourcery.com>
Tom de Vries <tom@codesourcery.com>
libgfortran/
* configure.ac: Use minimal mode for amdgcn.
* configure: Regenerate.
Co-Authored-By: Julian Brown <julian@codesourcery.com>
Co-Authored-By: Kwok Cheung Yeung <kcy@codesourcery.com>
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r268020
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-x | libgfortran/configure | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libgfortran/configure b/libgfortran/configure index 531e2ca..487d8c0 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -6164,7 +6164,8 @@ fi # * C library support for other features such as signal, environment # variables, time functions - if test "x${target_cpu}" = xnvptx; then + if test "x${target_cpu}" = xnvptx \ + || test "x${target_cpu}" = xamdgcn; then LIBGFOR_MINIMAL_TRUE= LIBGFOR_MINIMAL_FALSE='#' else @@ -12684,7 +12685,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12687 "configure" +#line 12688 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12790,7 +12791,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12793 "configure" +#line 12794 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |