aboutsummaryrefslogtreecommitdiff
path: root/libraries/DevIL
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2021-08-30 01:23:08 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:25:52 +0700
commit243d55afd3803c6d629149d9ce76607624a25b6d (patch)
treece7b3d8c0c0d9857f77e87bbcfa4e36ad1d06dce /libraries/DevIL
parent620d8ec9468fb6c0c4ea4700bfe92f8f9b4efbc1 (diff)
libraries/DevIL: Fix build on Slackware-current
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/DevIL')
-rw-r--r--libraries/DevIL/DevIL.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/DevIL/DevIL.SlackBuild b/libraries/DevIL/DevIL.SlackBuild
index 000f15b74962..618c2ad2eb63 100644
--- a/libraries/DevIL/DevIL.SlackBuild
+++ b/libraries/DevIL/DevIL.SlackBuild
@@ -35,16 +35,16 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fpermissive"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fpermissive"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC -fpermissive"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -fpermissive"
LIBDIRSUFFIX=""
fi