[ovs-dev] [PATCH] cccl: Respect silent flags.

Joe Stringer joestringer at nicira.com
Thu Dec 4 19:42:39 UTC 2014


Automake sets $V to tell the compiler whether to print verbose messages
as it compiles or not. Add support for this variable in cccl, allowing
more quiet build output on windows if the build is configured with
--silent or the developer runs make V=0.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
---
 build-aux/cccl |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build-aux/cccl b/build-aux/cccl
index b182805..2a4dccc 100644
--- a/build-aux/cccl
+++ b/build-aux/cccl
@@ -202,6 +202,8 @@ else
     opts=$linkopt
 fi
 
-echo "$prog $opts"
+if test x$V = x1 ; then
+    echo "$prog $opts"
+fi
 exec $prog $opts
 exit 0
-- 
1.7.10.4




More information about the dev mailing list