PKGBUILD: append -O3 to makepkg provided CFLAGS

This works around a GCC 10.1 O2+PGO regression.
This commit is contained in:
Daniel Eklöf 2020-05-25 21:01:55 +02:00
parent 62b0546c22
commit 55f244601f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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