aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/nopipe.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/nopipe.md')
-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).