mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-23 14:30:39 +01:00
ytools.mk.in: Debug / optimization stuff is now handled in defs.mk.in
This commit is contained in:
parent
668e993cb9
commit
00d3c7384e
1 changed files with 0 additions and 19 deletions
|
|
@ -48,23 +48,4 @@ else
|
||||||
include $(TOPDIR)/make/cfg_dist.mk
|
include $(TOPDIR)/make/cfg_dist.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(USE_COMPILER_DEBUG_OPTS),true)
|
|
||||||
PROJECT_CFLAGS += -Wall -g3
|
|
||||||
PROJECT_CPPFLAGS += -Wall -g3
|
|
||||||
PROJECT_LDFLAGS += -Wall -g3
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(USE_COMPILER_OPTIMIZATION_OPTS),true)
|
|
||||||
PROJECT_CFLAGS += -funroll-loops -O2
|
|
||||||
PROJECT_CPPFLAGS += -funroll-loops -O2
|
|
||||||
else
|
|
||||||
ifneq ($(USE_COMPILER_DEBUG_OPTS),true)
|
|
||||||
PROJECT_CFLAGS += -DNDEBUG
|
|
||||||
PROJECT_CPPFLAGS += -DNDEBUG
|
|
||||||
else
|
|
||||||
PROJECT_CFLAGS += -fno-inline
|
|
||||||
PROJECT_CPPFLAGS += -fno-inline
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
LDFLAGS += -lytools -ldl -pthread
|
LDFLAGS += -lytools -ldl -pthread
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue