diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = proton pkgdesc = Compatibility tool for Steam Play based on Wine and additional components pkgver = 8.0.5.3 - pkgrel = 3 + pkgrel = 4 epoch = 1 url = https://github.com/ValveSoftware/Proton install = proton.install @@ -6,7 +6,7 @@ _commit= pkgver=8.0.5.3 # pkgver=${_srctag//-/.} _geckover=2.47.3 _monover=8.1.0 -pkgrel=3 +pkgrel=4 epoch=1 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components" url="https://github.com/ValveSoftware/Proton" @@ -170,9 +170,9 @@ build() { --proton-sdk-image="" \ --build-name="${pkgname}" -# local -a split=($CFLAGS) -# local -A flags -# for opt in "${split[@]}"; do flags["${opt%%=*}"]="${opt##*=}"; done + local -a split=($CFLAGS) + local -A flags + for opt in "${split[@]}"; do flags["${opt%%=*}"]="${opt##*=}"; done local march="${flags["-march"]:-nocona}" local mtune="${flags["-mtune"]:-core-avx2}" @@ -192,8 +192,8 @@ build() { # https://bugs.winehq.org/show_bug.cgi?id=43516 # AVX is "hard" disabled for 32bit in any case. # AVX2 for both 32bit and 64bit is disabled below. - CFLAGS+=" -mno-avx2" - CXXFLAGS+=" -mno-avx2" + CFLAGS+=" -mno-avx2 -mno-avx" + CXXFLAGS+=" -mno-avx2 -mno-avx" export CFLAGS CXXFLAGS RUSTFLAGS LDFLAGS |