Add compiler flags
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user