aboutsummaryrefslogtreecommitdiff
path: root/development/gnuradio/gnuradio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gnuradio/gnuradio.SlackBuild')
-rw-r--r--development/gnuradio/gnuradio.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/development/gnuradio/gnuradio.SlackBuild b/development/gnuradio/gnuradio.SlackBuild
index a5cf90d496357..b32e7457c6d50 100644
--- a/development/gnuradio/gnuradio.SlackBuild
+++ b/development/gnuradio/gnuradio.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=gnuradio
VERSION=${VERSION:-3.7.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -77,11 +77,13 @@ sed -i "s|\${GR_DATA_DIR}/doc|doc|" CMakeLists.txt
# https://github.com/gnuradio/volk/commit/e5fec2aaacc8a130bcff84f1f3bbd9718250f029
patch -p1 < $CWD/cxx_abi.patch
+patch -p1 < $CWD/gnuradio-cppunit.patch
+
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -fpermissive" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DLIB_SUFFIX=$LIBDIRSUFFIX \