flasm: fix cross-compilation

This commit is contained in:
Ben Siraphob 2021-02-16 16:35:04 +07:00
parent 028ebdb0b0
commit e2b451fa8a

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 ];