cleanup CFLAGS
This commit is contained in:
parent
a32fdffde6
commit
5a9175f722
|
|
@ -10,7 +10,7 @@ LDSCRIPT = make/$(ARCH)/linker.ld
|
|||
|
||||
CFLAGS ?= -O2
|
||||
CFLAGS := $(CFLAGS) $(ARCH_CFLAGS) \
|
||||
-Wall -Wextra -pedantic -Wno-language-extension-token -std=gnu11 -I../ext/limine/stivale -fPIE
|
||||
-Wall -Wextra -pedantic -Wno-language-extension-token -std=gnu11 -I../ext -fPIE
|
||||
LDFLAGS := $(LDFLAGS) -T $(LDSCRIPT)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
-include make/x86/make.config
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
-include make/x86/make.config
|
||||
|
||||
ARCH_CFLAGS := -mcmodel=kernel
|
||||
ARCH_SRC := $(ARCH_SRC) $(shell find src/arch/x86_64 -type f -name '*.c' -print)
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include <stivale2.h>
|
||||
#include <limine/stivale/stivale2.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <stivale2.h>
|
||||
#include <limine/stivale/stivale2.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue