Module: sip-router
Branch: master
Commit: cb4cfa492aa977df3f80b7d93001559ecb1bcdec
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cb4cfa4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jun 4 23:21:11 2013 +0200
sercmd: pass OS define at compile time
---
utils/sercmd/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utils/sercmd/Makefile b/utils/sercmd/Makefile
index dacd064..86db185 100644
--- a/utils/sercmd/Makefile
+++ b/utils/sercmd/Makefile
@@ -27,7 +27,7 @@ endif #ifneq (,$(MAKECMDGOALS))
# erase common DEFS (not needed)
C_DEFS:=
-DEFS:= -DNAME='"$(NAME)"' -DSRNAME='"$(MAIN_NAME)"'
-DVERSION='"$(RELEASE)"' \
+DEFS:= -DNAME='"$(NAME)"' -DSRNAME='"$(MAIN_NAME)"'
-DVERSION='"$(RELEASE)"' -D__OS_$(OS) \
$(filter -D%HAVE -DARCH% -DOS% -D__CPU% -D__OS%, $(DEFS))
# use proper libs (we can't rely on LIBS value since we might be called