summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortrimill <trimill@trimillxyz.org>2024-02-03 15:32:43 -0500
committertrimill <trimill@trimillxyz.org>2024-02-03 15:32:43 -0500
commitac431b0050dee304e834605d240df5174ee1f626 (patch)
tree0d130201fb274c55caa6785b0a986e949d57260e /Makefile
parentalloc on write paging, -O3 compile works, 'volatile' is the story of my life (diff)
downloadcorn-ac431b0050dee304e834605d240df5174ee1f626.tar.gz
corn-ac431b0050dee304e834605d240df5174ee1f626.tar.bz2
corn-ac431b0050dee304e834605d240df5174ee1f626.zip
fix problem
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fee6417..ae2396e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,9 @@ CC=cc
LD=ld
AS=nasm
-CFLAGS += -std=c2x -ffreestanding -lgcc -isystem include
+CFLAGS += -std=c2x -ffreestanding -lgcc -isystem include -pipe
CFLAGS += -Wall -Wextra -pedantic
-CFLAGS += -O3 -pipe -g -fno-stack-protector
+CFLAGS += -O2 -g -fno-stack-protector -fno-omit-frame-pointer
CFLAGS += -DPAGE_SIZE=4096
LDFLAGS += -nmagic --no-warn-rwx-segments -nostdlib