summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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