We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 160ab32 commit 8686ee2Copy full SHA for 8686ee2
1 file changed
Makefile
@@ -96,6 +96,12 @@ else # linux
96
STRIP = strip --strip-unneeded $@
97
endif
98
99
+# For RISC-V pass through the arch string directly to march
100
+ifneq (,$(findstring rv64,$(ARCH)))
101
+ LDFLAGS += -march=$(ARCH)
102
+ CFLAGS += -march=$(ARCH)
103
+endif
104
+
105
# Windows .def file generation
106
$(DEF_FILE):
107
ifeq ($(PLATFORM),windows)
0 commit comments