[sr-dev] git:kamailio_3.0: makefile: fix assembler detection on solaris

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 10 14:20:05 CET 2009


Module: sip-router
Branch: kamailio_3.0
Commit: 57fbd6d317c075ecabce8d082c30d7b3d027f0fc
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=57fbd6d317c075ecabce8d082c30d7b3d027f0fc

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Dec  2 20:07:13 2009 -0500

makefile: fix assembler detection on solaris

Assembler test waited forever for input (missing /dev/null input
redirection for as -V).
(cherry picked from commit 0f7ec046ce88202e508ced7c1b1d544f05529758)

---

 Makefile.defs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile.defs b/Makefile.defs
index 956b403..dfd40bc 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -683,7 +683,8 @@ ifeq ($(CC_NAME), gcc)
 						fi)
 		ASPATH:=$(shell  if [ -z "$(ASGCC)" ] ; then echo "as" ;\
 						else \
-						if $(ASGCC) -V 2>/dev/null 1>/dev/null; then \
+						if $(ASGCC) -V 2>/dev/null 1>/dev/null </dev/null; \
+						then \
 							echo $(ASGCC); \
 						else echo "as" ; \
 						fi\




More information about the sr-dev mailing list