summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2de743c..cc021ca 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,10 @@ LD = ld.lld
OBJCOPY = llvm-objcopy
ARCH_FLAG = \
- --target=riscv32-unknown-elf \
- -march=rv32im \
- -mabi=ilp32
+ --target=riscv32-unknown-elf \
+ -march=rv32im \
+ -mabi=ilp32 \
+ -D__SYS_LITTLE_ENDIAN__
COMMON_FLAGS = \