summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 11ce9f4..e2a9836 100644
--- a/config.mk
+++ b/config.mk
@@ -10,7 +10,8 @@ CFLAGS = \
-fno-pie \
-fno-pic \
-g \
- -D$(TARGET_MACHINE) \
+ -D__$(TARGET_MACHINE)__ \
+ -Iinclude \
-I.
LDFLAGS = -nostdlib \
@@ -20,5 +21,5 @@ LDFLAGS = -nostdlib \
ifeq "$(TARGET_MACHINE)" "x86_64"
CFLAGS += -mno-red-zone \
-mcmodel=kernel \
- -MMD
+ -mfsgsbase
endif