install: remove -fno-plt from recommended CFLAGS

It appears to _worsen_ the performance...
This commit is contained in:
Daniel Eklöf 2020-11-14 13:57:56 +01:00
parent c764a45ee0
commit fb32d339a7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -127,10 +127,10 @@ mkdir -p bld/release && cd bld/release
### Release build ### Release build
```sh ```sh
CFLAGS+="-O3 -march=native -fno-plt" export CFLAGS="$CFLAGS -O3 -march=native"
export CFLAGS
meson --buildtype=release --prefix=/usr -Db_lto=true ../.. 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 For performance reasons, I strongly recommend doing a
[PGO](#profile-guided-optimization) (Profile Guided Optimization) [PGO](#profile-guided-optimization) (Profile Guided Optimization)