From 337b98213196dc18a95b73b0d1b95e105bec1c6b Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Fri, 11 Jun 2021 03:57:37 -0700 Subject: Rebuild for boost 1.76 Fix lto --- PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index c41d987..a155c52 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -11,7 +11,7 @@ pkgname=mupen64plus pkgver=2.5 -pkgrel=18 +pkgrel=19 pkgdesc='Nintendo64 Emulator' arch=('x86_64') url='https://github.com/mupen64plus/mupen64plus-core' @@ -36,8 +36,8 @@ build() { cd mupen64plus-bundle-src-${pkgver} # -fPIE breaks libmupen64plus.so.2 - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" export LDFLAGS="$LDFLAGS,-pie" if [[ $CARCH = 'i686' ]]; then -- cgit v1.2.1