aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/howtox.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-05-04 00:18:00 +0300
committerGitHub <noreply@github.com>2017-05-04 00:18:00 +0300
commit8cb15d728b3cfe9f2b26762ab78490da4628a30d (patch)
tree88ae990db099bb3430a094f6e1e736eb8bbcc063 /docs/markdown/howtox.md
parent108dac5c162eb086b8cce3f4d0575f7282c72c48 (diff)
parentf9de195d7c5a6ed4b02ea7c87137ac6be7f15d9c (diff)
downloadmeson-8cb15d728b3cfe9f2b26762ab78490da4628a30d.zip
meson-8cb15d728b3cfe9f2b26762ab78490da4628a30d.tar.gz
meson-8cb15d728b3cfe9f2b26762ab78490da4628a30d.tar.bz2
Merge pull request #1723 from QuLogic/doc-updates
Minor documentation updates
Diffstat (limited to 'docs/markdown/howtox.md')
-rw-r--r--docs/markdown/howtox.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md
index c765853..2e43276 100644
--- a/docs/markdown/howtox.md
+++ b/docs/markdown/howtox.md
@@ -19,7 +19,7 @@ project('myproj', 'c', 'cpp',
## Enable threads
-Lots of people seem to do this manually with `find_library('phtread')` or something similar. Do not do that. It is not portable. Instead do this.
+Lots of people seem to do this manually with `find_library('pthread')` or something similar. Do not do that. It is not portable. Instead do this.
```meson
thread_dep = dependency('threads')
@@ -93,7 +93,7 @@ The coverage report can be found in the meson-logs subdirectory.
## Add some optimization to debug builds ##
-By default the debug build does not use any optimizations. This is the desired approach most of the time. However some projects benefit from having some minor optimizations enabled. Gcc even has a specific compiler flag `-Og` for this. To enable its use, just issue the following command.
+By default the debug build does not use any optimizations. This is the desired approach most of the time. However some projects benefit from having some minor optimizations enabled. GCC even has a specific compiler flag `-Og` for this. To enable its use, just issue the following command.
```console
$ mesonconf -Dc_args=-Og
@@ -103,7 +103,7 @@ This causes all subsequent builds to use this command line argument.
## Use address sanitizer
-Clang comes with a selection of analysis tools such as the [address sanitizer](http://clang.llvm.org/docs/AddressSanitizer.html). Meson has native support for these with the `b_sanitize` option.
+Clang comes with a selection of analysis tools such as the [address sanitizer](https://clang.llvm.org/docs/AddressSanitizer.html). Meson has native support for these with the `b_sanitize` option.
```console
$ meson <other options> -Db_sanitize=address