toolchain/gcc: revert to version 11 by default

This commit is contained in:
coolsnowwolf 2023-01-26 21:15:53 +08:00
parent 0c40df89d3
commit ccc6994445
3 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ HOST_CONFIGURE_VARS += \
CONFIGURE_VARS += \ CONFIGURE_VARS += \
ac_cv_search__obstack_free=yes ac_cv_search__obstack_free=yes
TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -Wno-error=use-after-free TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include

View File

@ -3,7 +3,7 @@
choice choice
prompt "GCC compiler Version" if TOOLCHAINOPTS prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_USE_VERSION_8 if mips || mipsel || mips64 || mips64el default GCC_USE_VERSION_8 if mips || mipsel || mips64 || mips64el
default GCC_USE_VERSION_12 default GCC_USE_VERSION_11
help help
Select the version of gcc you wish to use. Select the version of gcc you wish to use.

View File

@ -3,12 +3,12 @@ config GCC_VERSION_8
default y if mips || mipsel || mips64 || mips64el default y if mips || mipsel || mips64 || mips64el
bool bool
config GCC_VERSION_11 config GCC_VERSION_12
default y if GCC_USE_VERSION_11 default y if GCC_USE_VERSION_12
bool bool
config GCC_VERSION config GCC_VERSION
string string
default "8.4.0" if GCC_VERSION_8 default "8.4.0" if GCC_VERSION_8
default "11.3.0" if GCC_VERSION_11 default "12.2.0" if GCC_VERSION_12
default "12.2.0" default "11.3.0"