mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Provisorically fixed timer compilation
This commit is contained in:
parent
4c8f088a39
commit
f116f40b6b
1 changed files with 4 additions and 1 deletions
|
|
@ -266,8 +266,11 @@ ifeq ($(USE_VALGRIND),true)
|
|||
# PROJECT_LDFLAGS +=
|
||||
endif
|
||||
|
||||
ifeq ($(USE_TIMER),true)
|
||||
# TODO: this shoud be only conditional, but breaks, because not all headers
|
||||
# do a conditional include of timer headers, yet
|
||||
GENERATE_FUNC_TIMERS = $(MODDIR)/YStopWatchThreadList/generate_func_timers.sh
|
||||
|
||||
ifeq ($(USE_TIMER),true)
|
||||
CFLAGS += -D_USE_TIMER_
|
||||
CPPFLAGS += -D_USE_TIMER_
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue