While compiling Open vSwitch with visual c++ in
a mingw environment, I have observed that "//" before
options does not work for all the compiler options of
MSVC. Using "-" on the other hand seems to work.

Also, echo the command line options passed to
the MSVC compiler.

Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
---
 build-aux/cccl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-aux/cccl b/build-aux/cccl
index a00b7f8..c614ecb 100644
--- a/build-aux/cccl
+++ b/build-aux/cccl
@@ -39,7 +39,7 @@ PATH=`echo $PATH | sed -e "s#/usr/bin:##" | sed -e 
"s#/bin:##"`:/usr/bin
 
 case $MACHTYPE in
     *-msys)
-        slash="//"
+        slash="-"
         ;;
     *)
         slash="/"
@@ -196,6 +196,6 @@ else
     opts=$linkopt
 fi
 
-#echo "$prog $opts"
+echo "$prog $opts"
 exec $prog $opts
 exit 0
-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to