TS-2711 Do not use the -C option with make, not available on all platforms

Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4c09fff8
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4c09fff8
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4c09fff8

Branch: refs/heads/5.0.x
Commit: 4c09fff8a4e4b61d47a3f6eeae8cf37f94d69332
Parents: 76a0777
Author: Leif Hedstrom <[email protected]>
Authored: Tue Apr 15 16:52:33 2014 -0600
Committer: Leif Hedstrom <[email protected]>
Committed: Tue Apr 15 16:52:36 2014 -0600

----------------------------------------------------------------------
 lib/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4c09fff8/lib/Makefile.am
----------------------------------------------------------------------
diff --git a/lib/Makefile.am b/lib/Makefile.am
index b52766b..ad5a731 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -42,8 +42,8 @@ all-local:
        @echo "Making all in luajit"
        test -d "$(top_srcdir)/luajit/src" || (cd "$(top_srcdir)" && git 
submodule update --init)
        test -d "$(top_builddir)/$(subdir)/luajit/src" || cp -rf 
"$(srcdir)/luajit" "$(top_builddir)/$(subdir)/"
-       make -C luajit PREFIX=$(prefix)
+       cd luajit && make PREFIX=$(prefix)
 
 clean-local:
-       test "$(top_srcdir)" != "$(top_builddir)" || make -C 
"$(top_builddir)/$(subdir)/luajit" clean
+       test "$(top_srcdir)" != "$(top_builddir)" || (cd 
"$(top_builddir)/$(subdir)/luajit" && make clean)
        test "$(top_srcdir)" = "$(top_builddir)" || rm -rf 
"$(top_builddir)/$(subdir)/luajit"

Reply via email to