mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk, ytools.mk.in: Debug options ytools.mk -> defs.mk
Move trace and other debug options from ytools.mk into defs.mk to make them visible to other projects, too
This commit is contained in:
parent
5d2dffa5e9
commit
08c7f4f9be
2 changed files with 9 additions and 11 deletions
10
make/defs.mk
10
make/defs.mk
|
|
@ -237,4 +237,12 @@ export LD_LIBRARY_PATH
|
|||
UPLOAD_URL_RPM_BIN=rsync_ssh://ftp.jannet.de:/home/ftp/dat/pub/packages/rpm/bin/
|
||||
UPLOAD_URL_RPM_SRC=rsync_ssh://ftp.jannet.de:/home/ftp/dat/pub/packages/rpm/src/
|
||||
|
||||
|
||||
ifeq ($(USE_COMPILER_DEBUG_OPTS),true)
|
||||
PROJECT_CFLAGS += -Wall -g3 -D_DO_TRACE_
|
||||
PROJECT_CPPFLAGS += -Wall -g3 -D_DO_TRACE_
|
||||
PROJECT_LDFLAGS += -Wall -g3
|
||||
else
|
||||
ifeq ($(USE_COMPILER_OPTIMIZATION_OPTS),true)
|
||||
PROJECT_CFLAGS += -funroll-loops -O2 -NDEBUG
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -48,14 +48,4 @@ else
|
|||
include $(TOPDIR)/make/cfg_dist.mk
|
||||
endif
|
||||
|
||||
ifeq ($(USE_COMPILER_DEBUG_OPTS),true)
|
||||
PROJECT_CFLAGS += -Wall -g3 -D_DO_TRACE_
|
||||
PROJECT_CPPFLAGS += -Wall -g3 -D_DO_TRACE_
|
||||
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