diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-21 07:39:57 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-22 11:39:47 -0500 |
commit | c0203ee1ddbcc3efae439241abc6214d44121533 (patch) | |
tree | 84491f0030aa694bac6e247fe54e6c9bdffd7c1d /network/openl2tp/openl2tp.SlackBuild | |
parent | 7acc6dbdab1e47fc6f38ae350b448c4480acf13f (diff) | |
download | slackbuilds-c0203ee1ddbcc3efae439241abc6214d44121533.tar.gz |
network/openl2tp: Disabled a "warning-as-error" that breaks build.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/openl2tp/openl2tp.SlackBuild')
-rw-r--r-- | network/openl2tp/openl2tp.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/network/openl2tp/openl2tp.SlackBuild b/network/openl2tp/openl2tp.SlackBuild index b2f985fba3..d71422247f 100644 --- a/network/openl2tp/openl2tp.SlackBuild +++ b/network/openl2tp/openl2tp.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=openl2tp VERSION=${VERSION:-1.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -55,7 +55,8 @@ find . \ patch -p1 < $CWD/Makefile.diff -make OPT_CFLAGS="$SLKCFLAGS" SYS_LIBDIR=/usr/lib${LIBDIRSUFFIX} +make OPT_CFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable" \ + SYS_LIBDIR=/usr/lib${LIBDIRSUFFIX} make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |