This is an automated email from the ASF dual-hosted git repository.
jiashunzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new f88a506 docs: fix centos compile options
new 8d25bdb Merge pull request #1525 from lorinlee/fix-docs
f88a506 is described below
commit f88a50691508d84f3eda30783761f7cfe9a1b98d
Author: LorinLee <[email protected]>
AuthorDate: Sun Aug 15 22:59:32 2021 +0800
docs: fix centos compile options
---
docs/cn/getting_started.md | 2 +-
docs/en/getting_started.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/cn/getting_started.md b/docs/cn/getting_started.md
index 7e2a5d5..1f4248b 100644
--- a/docs/cn/getting_started.md
+++ b/docs/cn/getting_started.md
@@ -138,7 +138,7 @@ sudo yum install gtest-devel
git克隆brpc,进入项目目录然后执行:
```shell
-$ sh config_brpc.sh --headers=/usr/include --libs=/usr/lib64
+$ sh config_brpc.sh --headers="/usr/include" --libs="/usr/lib64 /usr/bin"
$ make
```
修改编译器为clang,添加选项`--cxx=clang++ --cc=clang`。
diff --git a/docs/en/getting_started.md b/docs/en/getting_started.md
index 6bfc236..4d24f2d 100644
--- a/docs/en/getting_started.md
+++ b/docs/en/getting_started.md
@@ -137,7 +137,7 @@ sudo yum install gtest-devel
git clone brpc, cd into the repo and run
```shell
-$ sh config_brpc.sh --headers=/usr/include --libs=/usr/lib64
+$ sh config_brpc.sh --headers="/usr/include" --libs="/usr/lib64 /usr/bin"
$ make
```
To change compiler to clang, add `--cxx=clang++ --cc=clang`.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]