ytools.mk.in: Compiael release version with -DNDEBUG

This commit is contained in:
Jan Lindemann 2002-10-15 12:51:15 +00:00 committed by Jan Lindemann
commit baa3d413f4

View file

@ -48,4 +48,14 @@ else
include $(TOPDIR)/make/cfg_dist.mk
endif
ifeq ($(USE_COMPILER_DEBUG_OPTS),true)
PROJECT_CFLAGS += -Wall -g3
PROJECT_CPPFLAGS += -Wall -g3
PROJECT_LDFLAGS += -Wall -g3
else
ifeq ($(USE_COMPILER_OPTIMIZATION_OPTS),true)
PROJECT_CFLAGS += -funroll-loops -O2 -NDEBUG
endif
endif
LDFLAGS += -lytools -ldl -pthread