Merge pull request #113285 from siraben/flasm-xcompile

flasm: fix cross-compilation
This commit is contained in:
Sandro 2021-02-17 00:40:57 +01:00 committed by GitHub
commit 0d07997538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
stripRoot = false;
};
makeFlags = [ "CC=cc" ];
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
nativeBuildInputs = [ unzip bison flex gperf ];