Skip to content

Commit 8d6318a

Browse files
cavokzMichaelZhuxx
authored andcommitted
Make the compiler find libc headers
1 parent b419df6 commit 8d6318a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ CFLAGS += -march=$(RISCV_ARCH)
5252
CFLAGS += -mabi=$(RISCV_ABI)
5353
CFLAGS += -mcmodel=medany
5454
CFLAGS += $(INCLUDE_DIR)
55+
CFLAGS += -specs=nano.specs
5556
CCASFLAGS= -mcmodel=medany -mexplicit-relocs
5657

5758
LDFLAGS = -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI)-T $(LINKER_SCRIPT) -nostartfiles --specs=nano.specs -Wl,-Map,$(MAP_FILE)

0 commit comments

Comments
 (0)