summaryrefslogtreecommitdiff
path: root/main/efivar/fix-build-riscv64.patch
blob: d433a9f9ee67956e0832370fca37392b6561ed60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/include/defaults.mk	2022-05-30 17:18:56.805985253 +0000
+++ b/src/include/defaults.mk	2022-05-30 17:18:16.272463577 +0000
@@ -81,6 +81,9 @@
 else
 	HOST_MARCH=
 endif
+ifeq ($(HOST_ARCH),riscv64)
+	HOST_MARCH=
+endif
 HOST_CPPFLAGS ?= $(CPPFLAGS)
 override _HOST_CPPFLAGS := $(HOST_CPPFLAGS)
 override HOST_CPPFLAGS = $(_HOST_CPPFLAGS) \