Freestanding headers
This commit is contained in:
@ -2,10 +2,11 @@
|
||||
|
||||
ARCH ?= x86_64
|
||||
|
||||
CFLAGS := -ffreestanding -Wall -Wextra -g -fcommon
|
||||
CFLAGS := -ffreestanding -Wall -Wextra -g -fcommon -nostdinc
|
||||
|
||||
CFLAGS += -I. \
|
||||
-I../limine \
|
||||
-I./std/include \
|
||||
-DPRINTF_INCLUDE_CONFIG_H=1
|
||||
|
||||
LDFLAGS := -nostdlib -static -T arch/$(ARCH)/link.ld
|
||||
|
Reference in New Issue
Block a user