You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/12/07 05:12:23 UTC

[trafficserver] branch master updated: TS-2917: Support --disable-silent-rules when building LuaJIT.

This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  62a5a93   TS-2917: Support --disable-silent-rules when building LuaJIT.
62a5a93 is described below

commit 62a5a931d72e177ec32a8bc82b6b4af8c2b98764
Author: James Peach <jp...@apache.org>
AuthorDate: Tue Dec 6 21:02:27 2016 -0800

    TS-2917: Support --disable-silent-rules when building LuaJIT.
---
 lib/Makefile.am | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index aa11fc0..4c52279 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -26,6 +26,11 @@ if BUILD_WCCP
 SUBDIRS += wccp
 endif
 
+# Support verbose LuaJIT builds with "make V=1".
+luajit__v_ = $(luajit__v_$(AM_DEFAULT_VERBOSITY))
+luajit__v_0 = @
+luajit__v_1 =
+
 # Some special hacks around building the luajit.
 #
 #  - Copy the luajit source tree if we're doing out-of-source builds
@@ -43,7 +48,8 @@ all-local:
 		CC="$(CC)" \
 		CFLAGS="$(LUAJIT_CFLAGS)" \
 		XCFLAGS="" \
-		LDFLAGS="$(LUAJIT_LDFLAGS)"
+		LDFLAGS="$(LUAJIT_LDFLAGS)" \
+		Q=$(luajit__v_$(V))
 
 clean-local:
 	test "$(top_srcdir)" != "$(top_builddir)" || (cd "$(top_builddir)/$(subdir)/luajit" && $(MAKE) clean)

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].