From 529c8a64ebe9f7e8e6f6b49d4b10c6c539b829fe Mon Sep 17 00:00:00 2001 From: Diamond Rivero Date: Thu, 18 Jul 2024 09:07:20 +0800 Subject: [PATCH] newlib: use `--enable-newlib-hw-fp` I found the gcc has `--with-float` set to hard, maybe we could also use this in newlib. --- scripts/003-newlib.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/003-newlib.sh b/scripts/003-newlib.sh index 6baff82..073e098 100755 --- a/scripts/003-newlib.sh +++ b/scripts/003-newlib.sh @@ -50,6 +50,7 @@ rm -rf build-$TARGET && mkdir build-$TARGET && cd build-$TARGET --enable-newlib-io-c99-formats \ --enable-newlib-iconv \ --enable-newlib-iconv-encodings=us_ascii,utf8,utf16,ucs_2_internal,ucs_4_internal,iso_8859_1 \ + --enable-newlib-hw-fp \ $TARG_XTRA_OPTS ## Compile and install.