cleanup CFLAGS

This commit is contained in:
Quinten Kock 2020-12-04 02:43:17 +01:00
parent a32fdffde6
commit 5a9175f722
5 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -0,0 +1 @@
-include make/x86/make.config

View File

@ -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)

View File

@ -1,4 +1,4 @@
#include <stivale2.h>
#include <limine/stivale/stivale2.h>
#include <stdint.h>
#include <stddef.h>

View File

@ -1,4 +1,4 @@
#include <stivale2.h>
#include <limine/stivale/stivale2.h>
#include <stdint.h>
#include <stddef.h>