mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-12 04:27:51 -05: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() {
|
||||
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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue