mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
PKGBUILD: always set -fno-plt and -Wno-missing-profile
This commit is contained in:
parent
55f244601f
commit
4699ed343a
1 changed files with 5 additions and 1 deletions
6
PKGBUILD
6
PKGBUILD
|
|
@ -14,7 +14,11 @@ pkgver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export CFLAGS+=" -O3"
|
# makepkg uses -O2 by default, but we *really* want -O3
|
||||||
|
# -Wno-missing-profile since we're not exercising everything when doing PGO builds
|
||||||
|
# -fno-plt because performance (this is the default in makepkg anyway)
|
||||||
|
export CFLAGS+=" -O3 -Wno-missing-profile -fno-plt"
|
||||||
|
|
||||||
meson --prefix=/usr --buildtype=release --wrap-mode=nofallback -Db_lto=true ..
|
meson --prefix=/usr --buildtype=release --wrap-mode=nofallback -Db_lto=true ..
|
||||||
|
|
||||||
if [[ -v WAYLAND_DISPLAY ]]; then
|
if [[ -v WAYLAND_DISPLAY ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue