added riscv64 native build files

This commit is contained in:
akif 2025-09-01 17:08:31 +05:00
parent 5e96a82794
commit 220ea2a496
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,3 @@
include $(CURDIR)/../../var_gcc_riscv64.mak
include $(CURDIR)/../../warn_gcc.mak
include $(CURDIR)/makefile.gcc

View file

@ -0,0 +1,10 @@
PLATFORM = riscv64
O = b/g_$(PLATFORM)
USE_ASM =
# IS_X64 =
# IS_X86 =
# IS_ARM64 =
MY_ARCH ?= #native or -march=riscv64
CROSS_COMPILE ?=
CC = $(CROSS_COMPILE)gcc
CXX = $(CROSS_COMPILE)g++