gcc: Compile for rv64gc

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-02-05 09:50:39 -05:00
parent 0c304b7b40
commit e3a093f54b

View File

@@ -173,6 +173,12 @@ ifeq "$(BUILD_ARCH)" "i586"
--with-tune=generic
endif
ifeq "$(BUILD_ARCH)" "riscv64"
EXTRA_CONFIG += \
--with-arch=rv64gc \
--with-abi=lp64d
endif
EXTRA_CONFIG += \
--disable-multilib \
--with-bugurl=http://bugtracker.ipfire.org \