diff options
author | Eric Hameleers <alien@slackware.com> | 2019-02-09 18:26:54 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-02-09 18:26:54 +0000 |
commit | f96a17c8ee75242b86532d3c760ad0b54604cd04 (patch) | |
tree | 291c604f48120c2be70c14bdb7a7938869c27cd2 /wine/build/wine.SlackBuild | |
parent | f4dcbb94f8d6eb45a9e291a2fdbb4bc4e44988f5 (diff) | |
download | asb-f96a17c8ee75242b86532d3c760ad0b54604cd04.tar.gz asb-f96a17c8ee75242b86532d3c760ad0b54604cd04.tar.xz |
wine: allow the build to complete on 32bit Slackware 14.2
Diffstat (limited to 'wine/build/wine.SlackBuild')
-rwxr-xr-x | wine/build/wine.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wine/build/wine.SlackBuild b/wine/build/wine.SlackBuild index f5190b9d..902770d9 100755 --- a/wine/build/wine.SlackBuild +++ b/wine/build/wine.SlackBuild @@ -362,6 +362,12 @@ function wineconfigure () # Required because of the wine-staging as well as the direct3d9 patches: autoreconf -vif 2>&1 | tee $OUTPUT/autoreconf-${PRGNAM}.log +# Remove '-fPIC' when compiling on 32bit OS, or else the build will hang +# for older compilers (thanks to Dave Woodfall of SBo): +if [ "$ARCH" != "x86_64" -a $(gcc -dumpversion | cut -d'.' -f1) -lt 8 ]; then + sed -i -e "s/-fPIC//g" configure +fi + if [ "$ARCH" = "x86_64" -a "$DO_WINE64" = "yes" ]; then # First, wine64: mkdir wine64 |