diff options
author | Stelios Tsampas | 2021-05-14 18:39:58 +0300 |
---|---|---|
committer | Stelios Tsampas | 2021-05-14 18:39:58 +0300 |
commit | 78b8d788b47fe31fb970fcb353558b21f97bd7e2 (patch) | |
tree | 2d876dc6868b24c601ac940200becb5a14fd6000 | |
parent | 973af79bedc8b17fc99dda17da84f9f7d2d52fcc (diff) | |
download | aur-78b8d788b47fe31fb970fcb353558b21f97bd7e2.tar.gz |
Use upstream CFLAGS to avoid issues with the new Arch defaults
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = proton-native pkgdesc = Compatibility tool for Steam Play based on Wine and additional components. Monolithic distribution pkgver = 6.3.2 - pkgrel = 2 + pkgrel = 3 epoch = 1 url = https://github.com/ValveSoftware/Proton arch = x86_64 @@ -6,7 +6,7 @@ _commit= pkgver=${_srctag//-/.} _geckover=2.47.2 _monover=6.1.1 -pkgrel=2 +pkgrel=3 epoch=1 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components. Monolithic distribution" arch=(x86_64) @@ -193,10 +193,13 @@ build() { --no-steam-runtime \ --build-name="${pkgname}" - # Export CFLAGS used by upstream if building for redistribution + # Export CFLAGS used by upstream # -O2 is adjusted to -O3 since AVX is disabled -# export CFLAGS="-O3 -march=nocona -mtune=core-avx2" -# export CXXFLAGS="-O3 -march=nocona -mtune=core-avx2" + # This overrides CFLAGS from makepkg.conf, if you comment these you are on your own + # If you want the "best" possbile optimizations for your system you can use + # `-march=native` and remove the `-mtune=core-avx2` option. + export CFLAGS="-O3 -march=nocona -mtune=core-avx2 -pipe" + export CXXFLAGS="-O3 -march=nocona -mtune=core-avx2 -pipe" # If using -march=native and the CPU supports AVX, launching a d3d9 # game can cause an Unhandled exception. The cause seems to be the |