From fb39910402c6074379bc5788fd8f454c6b5e683a Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Sat, 6 Jun 2020 13:18:33 +0800 Subject: [PATCH] [posix] fix build daemon mode (#5062) --- src/posix/Makefile-posix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/posix/Makefile-posix b/src/posix/Makefile-posix index 497d5b15a..5259e0aa2 100644 --- a/src/posix/Makefile-posix +++ b/src/posix/Makefile-posix @@ -64,7 +64,9 @@ READLINE ?= readline REFERENCE_DEVICE ?= 1 SERVICE ?= 1 SNTP_CLIENT ?= 1 +ifneq ($(DAEMON),1) UDP_FORWARD ?= 1 +endif COMMONCFLAGS := \ -g \