diff --git a/arch/0-wine-staging-git/PKGBUILD b/arch/0-wine-staging-git/PKGBUILD index aa4ca83..2b8fc19 100755 --- a/arch/0-wine-staging-git/PKGBUILD +++ b/arch/0-wine-staging-git/PKGBUILD @@ -257,6 +257,9 @@ build() { cd "$srcdir"/"$pkgname"-32-build + # Revert Wine commit 8f732c66ab37b54c30d63c74f7822ba1d4f04996 + # Ref: https://source.winehq.org/git/wine.git/commit/8f732c66ab37b54c30d63c74f7822ba1d4f04996 + CFLAGS="${CFLAGS} -fPIC" \ ../wine-git/configure \ --with-x \ --without-mingw \ diff --git a/debian/wineroot/winebuild.sh b/debian/wineroot/winebuild.sh index 15edfd6..b857911 100755 --- a/debian/wineroot/winebuild.sh +++ b/debian/wineroot/winebuild.sh @@ -778,6 +778,10 @@ function wine64Build() { function wine32Build() { cd "${WINEDIR_BUILD_32}" + + # Revert Wine commit 8f732c66ab37b54c30d63c74f7822ba1d4f04996 + # Ref: https://source.winehq.org/git/wine.git/commit/8f732c66ab37b54c30d63c74f7822ba1d4f04996 + # CFLAGS="${CFLAGS} -fPIC" \ "${WINEDIR}"/configure \ --with-x \ --without-mingw \