mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
make: Merge from V_1_1_5_2_FIXES
This commit is contained in:
parent
74833f4500
commit
3e9de8d25e
5 changed files with 27 additions and 7 deletions
|
|
@ -48,4 +48,20 @@ 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
|
||||
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
|
||||
endif
|
||||
endif
|
||||
|
||||
LDFLAGS += -lytools -ldl -pthread
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue