more accuracy

This commit is contained in:
2026-05-10 22:13:20 +03:00
parent e4d342a36f
commit 461416362c
5 changed files with 32 additions and 13 deletions

View File

@@ -10,10 +10,9 @@ WARN=-Wall -Werror -Wno-format-truncation
ifeq ($(MODE), release)
OPT=-Oz
ifneq ($(CC), clang)
# clang emits LLVM bitcode in lto mode, which only clang and lld understand
OPT += -flto
endif
DEBUG=
else ifeq ($(MODE), release-lto)
OPT=-Oz -flto
DEBUG=
else
OPT=-O0