mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:25:44 +01:00
use NDEBUG instead of DEBUG as preprocessor.
This commit is contained in:
4
makefile
4
makefile
@@ -18,11 +18,11 @@ RUSTC := cargo rustc
|
|||||||
RSFLAGS :=
|
RSFLAGS :=
|
||||||
|
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
CFLAGS += -DDEBUG -g -Og
|
CFLAGS += -g -Og
|
||||||
RSOUT := debug
|
RSOUT := debug
|
||||||
PROF := dbg
|
PROF := dbg
|
||||||
else
|
else
|
||||||
CFLAGS += -O2 -Werror
|
CFLAGS += -DNDEBUG -O2 -Werror
|
||||||
RSOUT := release
|
RSOUT := release
|
||||||
RSFLAGS := --release
|
RSFLAGS := --release
|
||||||
PROF := rel
|
PROF := rel
|
||||||
|
|||||||
Reference in New Issue
Block a user