Warn for unused results
This commit is contained in:
parent
1aed6c0715
commit
ee2ddd7e8c
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
|
@ -12,6 +12,7 @@ LDFLAGS = -Tkernel.ld
|
|||
LDFLAGS += -m elf64lriscv
|
||||
|
||||
CFLAGS = -Wall -Werror -O
|
||||
CFLAGS += -Wno-unused-result
|
||||
CFLAGS += -mcmodel=medany
|
||||
CFLAGS += -march=rv64gc -mabi=lp64
|
||||
CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue