mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-30 11:10:23 -04: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
|
### 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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue