Properly reap child processes.

This commit is contained in:
Mahlon E. Smith 2018-02-18 22:18:44 -08:00
parent d9c179f32a
commit 61241defa1
2 changed files with 15 additions and 14 deletions

View file

@ -4,17 +4,17 @@ FILES = netdata_tsrelay.nim
default: development
debug: ${FILES}
nim --assertions:on --threads:on --nimcache:.cache c ${FILES}
nim --assertions:on --nimcache:.cache c ${FILES}
development: ${FILES}
# can use gdb with this...
nim --debugInfo --threads:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
nim --debugInfo --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
debugger: ${FILES}
nim --debugger:on --threads:on --nimcache:.cache c ${FILES}
nim --debugger:on --nimcache:.cache c ${FILES}
release: ${FILES}
nim -d:release --opt:speed --parallelBuild:0 --threads:on --nimcache:.cache c ${FILES}
nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES}
docs:
nim doc ${FILES}