toolchain: gcc: add compile opts for upcoming LEON support
authorZoltan HERPAI <wigyori@uid0.hu>
Fri, 18 Aug 2023 07:13:49 +0000 (09:13 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Tue, 9 Apr 2024 12:21:54 +0000 (14:21 +0200)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
toolchain/gcc/common.mk

index 0eea12f10963c2d9859363b0d07387493e09bbb4..1c2d3d3beaf9f542ddec4d2c32ed04a6e737d954 100644 (file)
@@ -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) \