roc-toolkit: fix aarch64-linux build

This commit is contained in:
Weijia Wang 2022-01-04 23:36:20 +01:00
parent d8e5799063
commit dac33ebc3f

View File

@ -49,6 +49,9 @@ stdenv.mkDerivation rec {
else [ "--with-libraries=${openfec}/lib"
"--with-openfec-includes=${openfec.dev}/include" ]);
prePatch = lib.optionalString stdenv.isAarch64
"sed -i 's/c++98/c++11/g' SConstruct";
preConfigure = ''
sconsFlags+=" --prefix=$out"
'';