[Slackbuilds-users] libtorrent SlackBuild does not set CXXFLAGS

Markus Rinne markus.rinne at tut.fi
Wed Dec 9 18:47:33 UTC 2009


Hello,

The libtorrent SlackBuild doesn't set CXXFLAGS variable for the configure 
script. Libtorrent is written in C++, so CXXFLAGS should be set to use the 
compiler flags.


--- libtorrent.SlackBuild	2009-11-28 08:08:44.000000000 +0200
+++ libtorrent.SlackBuild.new	2009-12-04 22:03:23.000000000 +0200
@@ -39,6 +39,7 @@
  chmod -R u+w,go+r-w,a-s .

  CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
  ./configure \
    --prefix=/usr \
    --libdir=/usr/lib${LIBDIRSUFFIX} \


(The rtorrent SlackBuild is also missing CXXFLAGS.)

Have fun,
-Markus


More information about the SlackBuilds-users mailing list