diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2015-08-28 14:57:57 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2015-08-28 14:57:57 +0000 |
commit | bd459d0b1dccf93dfd79204362a1740ca827c0e4 (patch) | |
tree | c7aab5b32a3599c41cab94e167c8d9ca4293972c /libgfortran/configure | |
parent | 51fcc5132137b96c322c9803f84ed934e352cd5f (diff) | |
download | gcc-bd459d0b1dccf93dfd79204362a1740ca827c0e4.zip gcc-bd459d0b1dccf93dfd79204362a1740ca827c0e4.tar.gz gcc-bd459d0b1dccf93dfd79204362a1740ca827c0e4.tar.bz2 |
[Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH
* configure.ac: Auto-detect newlib function support unless we
know there are issues when configuring for a host.
* configure: Regenerate.
From-SVN: r227301
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-x | libgfortran/configure | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libgfortran/configure b/libgfortran/configure index d7dad11..c236320 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -16474,8 +16474,13 @@ _ACEOF fi +case "${host}--x${with_newlib}" in + mips*--xyes) + hardwire_newlib=1;; +esac + # Check for library functions. -if test "x${with_newlib}" = "xyes"; then +if test "${hardwire_newlib:-0}" -eq 1; then # We are being configured with a cross compiler. AC_REPLACE_FUNCS # may not work correctly, because the compiler may not be able to # link executables. |