gnuradio: fix build for gcc6 and newer boost (#29740)
This commit is contained in:
parent
bda2d25a50
commit
3766637bdd
@ -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_*
|
||||
|
Loading…
Reference in New Issue
Block a user