diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-11-14 12:57:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-11-14 12:57:56 +0000 |
| commit | fb32d339a7ec61682e097d464a50c97766525f1b (patch) | |
| tree | 5ba5fc75c10ac13a3b62fe87b799e86be5acc89a | |
| parent | changelog: move pipe-* actions from ‘fixed’ to ‘added’ (diff) | |
install: remove -fno-plt from recommended CFLAGS
It appears to _worsen_ the performance...
| -rw-r--r-- | INSTALL.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -127,10 +127,10 @@ mkdir -p bld/release && cd bld/release ### Release build ```sh -CFLAGS+="-O3 -march=native -fno-plt" -export CFLAGS +export CFLAGS="$CFLAGS -O3 -march=native" meson --buildtype=release --prefix=/usr -Db_lto=true ../.. ``` +Both `-O3` (in `CFLAGS`) and `-Db_lto=true` are **highly** recommended. For performance reasons, I strongly recommend doing a [PGO](#profile-guided-optimization) (Profile Guided Optimization) |
