diff options
author | Darius Rad <darius@bluespec.com> | 2015-09-23 14:12:44 -0400 |
---|---|---|
committer | Darius Rad <darius@bluespec.com> | 2015-09-24 07:55:17 -0400 |
commit | f0a8b8fbe6f5fca3f5723d2da15570da58dcf428 (patch) | |
tree | 9203a96b152d67a822144865e8e9ae62397bf1b9 /glibc | |
parent | 781d50af05dc75522e799c962489ff4e4723240a (diff) | |
download | riscv-gnu-toolchain-f0a8b8fbe6f5fca3f5723d2da15570da58dcf428.zip riscv-gnu-toolchain-f0a8b8fbe6f5fca3f5723d2da15570da58dcf428.tar.gz riscv-gnu-toolchain-f0a8b8fbe6f5fca3f5723d2da15570da58dcf428.tar.bz2 |
glibc: Pass -msoft-float to glibc when necessary.
Diffstat (limited to 'glibc')
-rw-r--r-- | glibc/sysdeps/riscv/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/glibc/sysdeps/riscv/Makefile b/glibc/sysdeps/riscv/Makefile index 5a699a2..43279ab 100644 --- a/glibc/sysdeps/riscv/Makefile +++ b/glibc/sysdeps/riscv/Makefile @@ -43,3 +43,9 @@ sysdep_headers += sys/asm.h endif ASFLAGS-.os += $(pic-ccflag) + +ifneq ($(with-fp),yes) ++cflags += -msoft-float +ASFLAGS += -msoft-float +sysdep-LDFLAGS += -msoft-float +endif |