mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
PKGBUILD: prepare for profile guided compilation
This commit is contained in:
parent
c75518123b
commit
2b96f32d19
1 changed files with 6 additions and 1 deletions
7
PKGBUILD
7
PKGBUILD
|
|
@ -18,7 +18,12 @@ pkgver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
meson --prefix=/usr --buildtype=release -Db_lto=true Dc_args="-fno-stack-protector" ..
|
meson --prefix=/usr --buildtype=release -Db_lto=true -Dc_args="-fno-stack-protector" -Db_pgo=generate ..
|
||||||
|
ninja
|
||||||
|
|
||||||
|
# TODO: run something to actually create a profile
|
||||||
|
|
||||||
|
meson --prefix=/usr --buildtype=release -Db_lto=true -Dc_args="-fno-stack-protector" -Db_pgo=use ..
|
||||||
ninja
|
ninja
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue