From: Xianmiao Qu Date: Tue, 10 Jan 2023 14:48:21 +0000 (+0800) Subject: C-SKY: Fix float abi option in MULTILIB_DEFAULTS. X-Git-Tag: basepoints/gcc-14~2120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c7336a86449de41680e0640f7e353e4c1440bf9;p=thirdparty%2Fgcc.git C-SKY: Fix float abi option in MULTILIB_DEFAULTS. The msoft-float is alias of mfloat-abi=soft, use mfloat-abi=soft in MULTILIB_DEFAULTS to correspond to the option in MULTILIB_OPTIONS, otherwise it will find the wrong path. gcc/ * config/csky/csky.h (MULTILIB_DEFAULTS): Fix float abi option. --- diff --git a/gcc/config/csky/csky.h b/gcc/config/csky/csky.h index d21a57a8bb29..a9dc60cecc53 100644 --- a/gcc/config/csky/csky.h +++ b/gcc/config/csky/csky.h @@ -952,7 +952,7 @@ while (0) specially when using MULTILIB_OPTIONS. */ #undef MULTILIB_DEFAULTS #define MULTILIB_DEFAULTS \ - {"mlittle-endian", "mcpu=ck810f", "msoft-float"} + {"mlittle-endian", "mcpu=ck810f", "mfloat-abi=soft"} /* Support for a compile-time default CPU, et cetera. The rules are: --with-arch is ignored if -march or -mcpu are specified.