From: Zoltan HERPAI Date: Fri, 18 Aug 2023 07:13:49 +0000 (+0200) Subject: toolchain: gcc: add compile opts for upcoming LEON support X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=ad4e69ce638b08b85ea02937c4725598d7a9be98;p=openwrt%2Fstaging%2Fwigyori.git toolchain: gcc: add compile opts for upcoming LEON support Signed-off-by: Zoltan HERPAI --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 0eea12f109..1c2d3d3bea 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -113,6 +113,7 @@ GCC_CONFIGURE:= \ $(if $(CONFIG_mips64)$(CONFIG_mips64el),--with-arch=mips64 \ --with-abi=$(call qstrip,$(CONFIG_MIPS64_ABI))) \ $(if $(CONFIG_arc),--with-cpu=$(CONFIG_CPU_TYPE)) \ + $(if $(CONFIG_sparc),--with-cpu=v9 --with-tune=v8 --enable-long-long --disable-libitm) \ $(if $(CONFIG_powerpc64), $(if $(CONFIG_USE_MUSL),--with-abi=elfv2)) \ --with-system-zlib=$(STAGING_DIR_HOST) \ --with-zstd=$(STAGING_DIR_HOST) \