From 55f244601ffe1787f76e395b8dc57b40dfc0e2f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 25 May 2020 21:01:55 +0200 Subject: [PATCH] PKGBUILD: append -O3 to makepkg provided CFLAGS This works around a GCC 10.1 O2+PGO regression. --- PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/PKGBUILD b/PKGBUILD index b4b78e24..4d571626 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,6 +14,7 @@ pkgver() { } build() { + export CFLAGS+=" -O3" meson --prefix=/usr --buildtype=release --wrap-mode=nofallback -Db_lto=true .. if [[ -v WAYLAND_DISPLAY ]]; then