瀏覽代碼

sercmd: minor makefile fix

- clear C_DEFS, since we don't need ser common DEFS for building sercmd
 (minor compile warning that appeared after the recend DEFS->C_DEFS changes
 in the main Makefiles)
Andrei Pelinescu-Onciul 16 年之前
父節點
當前提交
e2c4ed6b23
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      utils/sercmd/Makefile

+ 2 - 1
utils/sercmd/Makefile

@@ -20,7 +20,8 @@ endif
 endif #ifneq (,$(MAKECMDGOALS))
 
 
-
+# erase common DEFS (not needed)
+C_DEFS:=
 DEFS:= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' \
 		$(filter -D%HAVE -DARCH% -DOS% -D__CPU% -D__OS%, $(DEFS))
 LIBS:=$(filter-out -lfl  -ldl -lpthread -lssl -lcrypto, $(LIBS))