Add compiler flags

This commit is contained in:
2026-07-28 00:30:26 +01:00
parent e1fcab0779
commit 27e8494fc8
+4 -4
View File
@@ -25,14 +25,14 @@ MRUBY_CFLAGS ?= -I./libs/mruby/build/host/include
MRUBY_LIBS ?= -L./libs/mruby/build/host/lib -lmruby
CFLAGS_DEBUG :=\
-std=c++20 -Wall -Wextra -static \
-std=c++26 -Wall -Wextra -static \
-O0 -fno-inline -gsplit-dwarf \
-g -fno-omit-frame-pointer \
-g -fno-omit-frame-pointer -ffast-math \
-I./include -I./libs/unicode_width
CFLAGS_RELEASE :=\
-std=c++20 -O3 -march=x86-64 -mtune=generic -fno-rtti \
-fvisibility=hidden -static \
-std=c++26 -O3 -march=x86-64 -mtune=generic -fno-rtti \
-fvisibility=hidden -static -ffast-math \
-fomit-frame-pointer -DNDEBUG -s \
-I./include -I./libs/unicode_width