aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2023-08-28 20:39:16 +0300
committeralexv-smirnov <alex@ydb.tech>2023-08-28 21:50:57 +0300
commit35367ac2df1649b19d9061dc41eed7c6fcad060c (patch)
tree895a9d55d8db69d488c6e257fba92a2326f5f7b7
parentb8e0cc38b5bf4b1ddef0a5058693843401fc5778 (diff)
downloadydb-35367ac2df1649b19d9061dc41eed7c6fcad060c.tar.gz
Fix build instructions
Fix build instructions Pull Request resolved: #346
-rw-r--r--BUILD.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/BUILD.md b/BUILD.md
index 34d1c1fd5a..9fa2561c8f 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -86,8 +86,10 @@ Run cmake to generate build configuration:
```bash
cd build
-cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-O2 -UNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-O2 -UNDEBUG" -DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain ../ydb
-
+cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_FLAGS_RELEASE="-O3 -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELEASE="-O3 -DNDEBUG" \
+ -DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain ../ydb
```