fix c/flags

This commit is contained in:
Nathan 2022-02-19 19:08:03 -06:00
parent 3b7112af11
commit d5119b0311

View file

@ -35,6 +35,7 @@ depends=(
python
steam
cabextract
vkd3d lib32-vkd3d
)
makedepends=(autoconf bison perl fontforge flex mingw-w64-gcc
@ -287,7 +288,6 @@ prepare() {
# Adds more 16:10 resolutions for use with FSR
patch -p1 -i "$srcdir"/wine-more_8x5_res.patch
popd
patch -p1 -i "$srcdir"/proton-sanitize_makefile.patch
patch -p1 -i "$srcdir"/proton-disable_lock.patch
patch -p1 -i "$srcdir"/proton-user_compat_data.patch
@ -304,7 +304,6 @@ prepare() {
build() {
source build_venv/bin/activate
export PATH="$(pwd)/wrappers:$PATH"
cd build
ROOTLESS_CONTAINER="" \
../proton-ge-custom/configure.sh \
@ -351,8 +350,8 @@ build() {
# https://bugs.winehq.org/show_bug.cgi?id=43516
# AVX is "hard" disabled for 32bit in any case.
# AVX2 for 64bit is disabled below.
export CFLAGS+=" -mno-avx2"
export CXXFLAGS+=" -mno-avx2"
export CFLAGS+=" -mno-avx2 -I/usr/include/vkd3d"
export CXXFLAGS+=" -mno-avx2 -I/usr/include/vkd3d"
export WINEESYNC=0
export WINEFSYNC=0