aboutsummaryrefslogtreecommitdiff
path: root/pu2/Makefile
diff options
context:
space:
mode:
authorGravatar Moon Flower <moon@coffin.ir> 2025-08-25 16:53:34 +0330
committerGravatar Moon Flower <moon@coffin.ir> 2025-08-25 16:53:34 +0330
commit8f73e9736317bd5d7951757357075504ea402d27 (patch)
treeb89acf08a72ab2d0195d033ce600134c78de663e /pu2/Makefile
parentfixed stack overflow bug (diff)
cool stuff, right? multi-process support with permission levels
Diffstat (limited to 'pu2/Makefile')
-rw-r--r--pu2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/pu2/Makefile b/pu2/Makefile
index aa1f325..68fbcd0 100644
--- a/pu2/Makefile
+++ b/pu2/Makefile
@@ -1,6 +1,9 @@
build:
clang pu2.c -o pu2 -std=c89 -ffunction-sections -Wl,--gc-sections -O3 -march=native -mtune=native -flto -ffast-math -funroll-loops -fno-exceptions
+build_fast:
+ clang pu2.c -o pu2 -std=c89 -O0 -g
+
# i use this for building pu2 on a-Shell
build_wasi:
clang pu2.c -o pu2 -std=c89 -ffunction-sections -Wl,--gc-sections -O3 -ffast-math -funroll-loops -fno-exceptions -DPU2_BAD_CLOCK -DPU2_NO_ASM -DPU2_NO_MMAP -fno-rtti -fno-stack-protector -fomit-frame-pointer -Wno-format -Wno-#warnings