summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStelios Tsampas2021-05-14 18:39:58 +0300
committerStelios Tsampas2021-05-14 18:39:58 +0300
commit78b8d788b47fe31fb970fcb353558b21f97bd7e2 (patch)
tree2d876dc6868b24c601ac940200becb5a14fd6000
parent973af79bedc8b17fc99dda17da84f9f7d2d52fcc (diff)
downloadaur-78b8d788b47fe31fb970fcb353558b21f97bd7e2.tar.gz
Use upstream CFLAGS to avoid issues with the new Arch defaults
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 43b0c22bed7e..2993f9f049dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index f5c285fb676c..c73a8f925430 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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