From f4e0e0949ab41b230828a98bd72545d40396a370 Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Sat, 16 Nov 2013 18:49:06 -0800 Subject: [PATCH] cccl: Provide '-' before the options instead of double slash. 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 Acked-by: Ben Pfaff --- build-aux/cccl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/cccl b/build-aux/cccl index a00b7f88e..c614ecbf5 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 -- 2.47.0