diff options
Diffstat (limited to 'gnash/gnash.SlackBuild')
-rwxr-xr-x | gnash/gnash.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnash/gnash.SlackBuild b/gnash/gnash.SlackBuild index d8b149d6..8f3abf46 100755 --- a/gnash/gnash.SlackBuild +++ b/gnash/gnash.SlackBuild @@ -23,8 +23,10 @@ TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} if [ "$ARCH" == "x86_64" ]; then + export CFLAGS="-fPIC" LIBDIR=/usr/lib64 export LDFLAGS="-L/lib64 -L/usr/lib64" + EXTRA_ARG="--whithout-fvisibility-inlines-hidden" else LIBDIR=/usr/lib fi @@ -59,7 +61,7 @@ if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then patch -p1 < $CWD/$PACKAGE-$VERSION.diff fi -./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR +./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR $EXTRA_ARG make make DESTDIR=$TMP/package-$PACKAGE install |