summaryrefslogtreecommitdiff
path: root/user/Makefile
diff options
context:
space:
mode:
authorGalen Sagarin <gps5307@rit.edu>2025-04-29 14:18:40 -0400
committerGalen Sagarin <gps5307@rit.edu>2025-04-29 14:18:40 -0400
commitae2cdd83ba4a0cae161db0b29031d5591005fa34 (patch)
tree82fbdfcbb1fe4e3b5e232db195c8c331d69489fd /user/Makefile
parentStarted writing fat.c (diff)
parentfs header changes (diff)
downloadcomus-ae2cdd83ba4a0cae161db0b29031d5591005fa34.tar.gz
comus-ae2cdd83ba4a0cae161db0b29031d5591005fa34.tar.bz2
comus-ae2cdd83ba4a0cae161db0b29031d5591005fa34.zip
Merge branch 'main' of https://github.com/kenshineto/kern into fat32
Merging main into here
Diffstat (limited to 'user/Makefile')
-rw-r--r--user/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/Makefile b/user/Makefile
index a01d950..2e57dc8 100644
--- a/user/Makefile
+++ b/user/Makefile
@@ -14,9 +14,9 @@ CPPFLAGS += -Iinclude
CFLAGS += -O2
CFLAGS += -std=c11
CFLAGS += -Wall -Wextra -pedantic
-CFLAGS += -fno-pie -fno-stack-protector
+CFLAGS += -no-pie -fPIC -fno-stack-protector
CFLAGS += -fno-omit-frame-pointer -ffreestanding
-CFLAGS += -fno-builtin
+CFLAGS += -fno-builtin -mcmodel=large
CFLAGS += -D DEBUG -g
CFLAGS += $(CPPFLAGS)