Merge pull request #153519 from wegank/workaround-issue-153503

roc-toolkit: fix aarch64-linux build
This commit is contained in:
Felix Bühler 2022-01-05 01:08:55 +01:00 committed by GitHub
commit aeec3a2b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"
'';