From: Gurucharan Shetty Date: Sun, 17 Nov 2013 02:49:06 +0000 (-0800) Subject: cccl: Provide '-' before the options instead of double slash. X-Git-Tag: sliver-openvswitch-2.0.90-1~4^2~14 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f4e0e0949ab41b230828a98bd72545d40396a370;p=sliver-openvswitch.git 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 --- 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