From 9ab4dadef99cacb6a556154b7f520afba0877dc4 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 10 Mar 2021 21:41:15 +0200 Subject: Remove -pipe from default list of args. Closes #8508. --- docs/markdown/snippets/nopipe.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/markdown/snippets/nopipe.md (limited to 'docs/markdown/snippets') 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). -- cgit v1.1