summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-25 18:43:35 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-25 18:43:35 -0400
commit9241f2fce3b055f98cb3e0581231d148afe53bfa (patch)
treec59f8d6594cd0ebc0ea92ef6a0490c341359c3ea /user
parentfmt (diff)
downloadcomus-9241f2fce3b055f98cb3e0581231d148afe53bfa.tar.gz
comus-9241f2fce3b055f98cb3e0581231d148afe53bfa.tar.bz2
comus-9241f2fce3b055f98cb3e0581231d148afe53bfa.zip
link user programs at 2GB
Diffstat (limited to 'user')
-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)