diff --git a/Makefile b/Makefile index c8e8f6f..e883fe7 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ CFLAGS += -nostartfiles# # Do not use standard startup files CFLAGS += -nostdlib# # Do not use standard libraries CFLAGS += -fno-builtin# # Do not use built-in functions CFLAGS += -fno-common# # Do not use common sections -CFLAGS += -march=rv64i# # Use RV64I ISA, i.e., integer only +CFLAGS += -march=rv64im# # Use RV64I ISA, i.e., integer only CFLAGS += -mabi=lp64# # Use LP64 ABI, i.e., 64-bit longs and pointers, 32-bit ints CFLAGS += -Os# # Optimize for size CFLAGS += -Wall -Wunused -O2