mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
install: remove -fno-plt from recommended CFLAGS
It appears to _worsen_ the performance...
This commit is contained in:
parent
c764a45ee0
commit
fb32d339a7
1 changed files with 2 additions and 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue