diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = vkd3d-proton-mingw pkgdesc = Fork of VKD3D. Development branches for Protons Direct3D 12 implementation pkgver = 2.11.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/HansKristian-Work/vkd3d-proton arch = x86_64 license = LGPL-2.1 @@ -2,7 +2,7 @@ pkgname=vkd3d-proton-mingw pkgver=2.11.1 -pkgrel=2 +pkgrel=3 pkgdesc='Fork of VKD3D. Development branches for Protons Direct3D 12 implementation' arch=('x86_64') url="https://github.com/HansKristian-Work/vkd3d-proton" @@ -34,9 +34,9 @@ prepare() { # If you want the "best" possible optimizations for your system you can use # `-march=native` and remove the `-mtune=core-avx2` option. -# 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}" @@ -61,8 +61,8 @@ prepare() { # Relevant Wine issues # https://bugs.winehq.org/show_bug.cgi?id=45289 # https://bugs.winehq.org/show_bug.cgi?id=43516 - CFLAGS+=" -mno-avx2" - CXXFLAGS+=" -mno-avx2" + CFLAGS+=" -mno-avx2 -mno-avx" + CXXFLAGS+=" -mno-avx2 -mno-avx" local cross_ldflags="$LDFLAGS" |