diff options
Diffstat (limited to 'pu2/Makefile')
| -rw-r--r-- | pu2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pu2/Makefile b/pu2/Makefile index 05d9d3f..a211385 100644 --- a/pu2/Makefile +++ b/pu2/Makefile @@ -1,6 +1,10 @@ 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 -flto +# 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 + run: ./pu2 |
