aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-03-10 21:41:15 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2021-03-23 17:26:08 +0200
commit9ab4dadef99cacb6a556154b7f520afba0877dc4 (patch)
treeeebee3b11ea28dc2b69764c0cf4ff09e9658a9cd /docs
parentea48edbb0fcd567b26d94e27b9b61612f56728f5 (diff)
downloadmeson-9ab4dadef99cacb6a556154b7f520afba0877dc4.zip
meson-9ab4dadef99cacb6a556154b7f520afba0877dc4.tar.gz
meson-9ab4dadef99cacb6a556154b7f520afba0877dc4.tar.bz2
Remove -pipe from default list of args. Closes #8508.
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/nopipe.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/snippets/nopipe.md b/docs/markdown/snippets/nopipe.md
new file mode 100644
index 0000000..431205b
--- /dev/null
+++ b/docs/markdown/snippets/nopipe.md
@@ -0,0 +1,10 @@
+## `-pipe` no longer used by default
+
+Meson used to add the `-pipe` command line argument to all compilers
+that supported it, but no longer does. If you need this, then you can
+add it manually. However note that you should not do this unless you
+have actually measured that it provides performance improvements. In
+our tests we could not find a case where adding `-pipe` made
+compilation faster and using `-pipe` [can cause sporadic build
+failures in certain
+cases](https://github.com/mesonbuild/meson/issues/8508).