mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
ytools.mk.in: Compiael release version with -DNDEBUG
This commit is contained in:
parent
2badf6b28f
commit
baa3d413f4
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue