From ad4e69ce638b08b85ea02937c4725598d7a9be98 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Fri, 18 Aug 2023 09:13:49 +0200 Subject: [PATCH] toolchain: gcc: add compile opts for upcoming LEON support Signed-off-by: Zoltan HERPAI --- toolchain/gcc/common.mk | 1 + 1 file changed, 1 insertion(+) 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) \ -- 2.30.2