aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYilun Chong <yilunchong@google.com>2018-07-27 17:59:19 -0700
committerYilun Chong <yilunchong@google.com>2018-07-27 17:59:19 -0700
commit517dee8da3d3d27790ed3014f711b8cdf34fc82e (patch)
tree9aafe17e55736cb208d262407fbef8d37f81d50e
parent88795f64e4c5dc870c63b3d4d39924cc91590b2f (diff)
downloadprotobuf-517dee8da3d3d27790ed3014f711b8cdf34fc82e.tar.gz
protobuf-517dee8da3d3d27790ed3014f711b8cdf34fc82e.tar.bz2
protobuf-517dee8da3d3d27790ed3014f711b8cdf34fc82e.zip
fix third_party/benchmark init
-rw-r--r--benchmarks/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/benchmarks/Makefile.am b/benchmarks/Makefile.am
index 4bf57026..4f7df646 100644
--- a/benchmarks/Makefile.am
+++ b/benchmarks/Makefile.am
@@ -90,8 +90,7 @@ $(benchmarks_protoc_outputs_proto2_header): protoc_middleman2
initialize_submodule:
oldpwd=`pwd`
- cd $(top_srcdir)/third_party
- git submodule update --init -r
+ cd $(top_srcdir) && git submodule update --init -r third_party/benchmark
cd $(top_srcdir)/third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make
cd $$oldpwd
touch initialize_submodule