summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed8419aa7b0..236278eac64 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = foot
pkgver = 1.3.0
- pkgrel = 1
+ pkgrel = 2
url = https://codeberg.org/dnkl/foot
arch = x86_64
license = mit
diff --git a/PKGBUILD b/PKGBUILD
index dc3d82f5b79..e83569ef33a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
pkgname=('foot' 'foot-terminfo')
pkgver=1.3.0
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url=https://codeberg.org/dnkl/foot
license=(mit)
@@ -24,7 +24,12 @@ build() {
ln -sf ../../fcft .
popd
- meson --prefix=/usr --buildtype=release --wrap-mode=forcefallback -Db_lto=true -Dc_args="-Wno-missing-profile" . build
+ # 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=forcefallback -Db_lto=true . build
if [[ -v WAYLAND_DISPLAY ]]; then
meson configure -Db_pgo=generate build