keep original argv

This commit is contained in:
Devaev Maxim
2019-10-11 23:37:05 +03:00
parent 03dd5dfebb
commit 57bc6e160d
4 changed files with 50 additions and 16 deletions

View File

@@ -44,13 +44,13 @@ override CFLAGS += -DWITH_PTHREAD_NP
endif
#WITH_SETPROCTITLE ?= 1
#ifneq ($(call optbool,$(WITH_SETPROCTITLE)),)
#ifeq ($(shell uname -s | tr A-Z a-z),linux)
#_LIBS += -lbsd
#endif
#override CFLAGS += -DWITH_SETPROCTITLE
#endif
WITH_SETPROCTITLE ?= 1
ifneq ($(call optbool,$(WITH_SETPROCTITLE)),)
ifeq ($(shell uname -s | tr A-Z a-z),linux)
_LIBS += -lbsd
endif
override CFLAGS += -DWITH_SETPROCTITLE
endif
# =====