[COMMITTED] C-SKY: Support --with-float=softfp in configuration.

Message ID 20230115023207.88481-1-cooper.qu@linux.alibaba.com
State Committed
Commit e658e8157db372555a853c02824f5fc78709a5b1
Headers
Series [COMMITTED] C-SKY: Support --with-float=softfp in configuration. |

Commit Message

瞿仙淼 Jan. 15, 2023, 2:32 a.m. UTC
  Missed it before, it needs to be used when compiling non-multilib.

gcc/
	* config.gcc (csky-*-*): Support --with-float=softfp.
---
 gcc/config.gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/config.gcc b/gcc/config.gcc
index c4633e869ac..f89a071b495 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1616,7 +1616,7 @@  csky-*-*)
 	fi
 	if test x${with_float} != x; then
 	    case ${with_float} in
-		soft | hard) ;;
+		soft | hard | softfp) ;;
 		*) echo
 		    "Unknown floating point type used in --with-float=$with_float"
 		    exit 1