summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-08-11 12:16:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 16:33:49 -0500
commit1f181c46bc919f2d30cfcbbb80e21a2d5d28411b (patch)
treec500c992ed16a05b7847870d196c76039f558df8
parentebcfd96a0f8829f80970488ca2f2ad16f65b7595 (diff)
downloadslackbuilds-1f181c46bc919f2d30cfcbbb80e21a2d5d28411b.tar.gz
system/rox-filer: Added some LDFLAGS to make gcc-4.7.x happy.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/rox-filer/rox-filer.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/rox-filer/rox-filer.SlackBuild b/system/rox-filer/rox-filer.SlackBuild
index 5a0038a3fc..f0966a3db0 100644
--- a/system/rox-filer/rox-filer.SlackBuild
+++ b/system/rox-filer/rox-filer.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=rox-filer
VERSION=${VERSION:-2.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,7 +52,8 @@ find . \
-o -perm 400 \) -exec chmod 644 {} \;
# this autostrips the non-debug binary
-CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" ./ROX-Filer/AppRun --compile
+LDFLAGS="-ldl -lm" CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" \
+ ./ROX-Filer/AppRun --compile
# begin poor man's 'make install' (*heavily* adapted from rox's interactive
# prefix-less install.sh)