small tweaks

This commit is contained in:
2026-05-08 23:24:02 +03:00
parent 13ecbd3b26
commit d739ddbd38
2 changed files with 4 additions and 1 deletions

View File

@@ -9,6 +9,10 @@ RANLIB=ranlib
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
OPT=-O0