gnuradio: fix build for gcc6 and newer boost (#29740)

This commit is contained in:
Rodney Lorrimar 2017-09-26 01:20:22 +01:00 committed by Joachim F
parent bda2d25a50
commit 3766637bdd

View File

@ -41,8 +41,14 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postPatch = ''
substituteInPlace \
gr-fec/include/gnuradio/fec/polar_decoder_common.h \
--replace BOOST_CONSTEXPR_OR_CONST const
'';
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-unused-variable"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-unused-variable -std=c++11"
'';
# - Ensure we get an interactive backend for matplotlib. If not the gr_plot_*