aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-10-13 21:54:02 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-10-13 21:54:57 -0700
commit55f83087a711a24b8704309b0dd32e6071fcafad (patch)
treefb7fb26b1a0b346e890bdb52023bb7fabeb078e6 /configure
parent7d0993b6df5fa7b326184eb5e2dcd938d82289ca (diff)
downloadriscv-gnu-toolchain-55f83087a711a24b8704309b0dd32e6071fcafad.zip
riscv-gnu-toolchain-55f83087a711a24b8704309b0dd32e6071fcafad.tar.gz
riscv-gnu-toolchain-55f83087a711a24b8704309b0dd32e6071fcafad.tar.bz2
Support an RV32F compiler
Soft-float calling convention is default, but an alternate hard-float calling convention (with doubles passed as in soft-float, but floats passed as in hard-float) is supported.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 3 insertions, 9 deletions
diff --git a/configure b/configure
index 792facd..2e6dea8 100755
--- a/configure
+++ b/configure
@@ -588,8 +588,6 @@ multilib_flags
glibc_float_flags
gcc_float_flags
binutils_float_flags
-float_asflags
-float_cflags
atomic_cflags
WITH_ARCH
XLEN
@@ -3279,15 +3277,11 @@ else
fi
if test "x$enable_float" != xno; then :
- float_cflags=-mhard-float
-float_asflags=-mhard-float
-binutils_float_flags=--disable-soft-float
-gcc_float_flags="--disable-soft-float --with-float=hard"
+ binutils_float_flags=--disable-soft-float
+gcc_float_flags="--disable-soft-float"
else
- float_cflags=-msoft-float
-float_asflags=-msoft-float
-binutils_float_flags=--enable-soft-float
+ binutils_float_flags=--enable-soft-float
gcc_float_flags="--enable-soft-float --with-float=soft"
glibc_float_flags=--without-fp