]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
C-SKY: Support --with-float=softfp in configuration.
authorXianmiao Qu <cooper.qu@linux.alibaba.com>
Sun, 15 Jan 2023 02:04:35 +0000 (10:04 +0800)
committerXianmiao Qu <cooper.qu@linux.alibaba.com>
Sun, 15 Jan 2023 02:04:35 +0000 (10:04 +0800)
Missed it before, it needs to be used when compiling non-multilib.

gcc/
* config.gcc (csky-*-*): Support --with-float=softfp.

gcc/config.gcc

index c4633e869ac06a65dc147fa98025f5b33e9d5c88..f89a071b4953725a35954131cb19f341cbdc1a71 100644 (file)
@@ -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