mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
dlx: fix cross-compilation
This commit is contained in:
parent
028ebdb0b0
commit
2877a5c7ee
@ -8,9 +8,9 @@ stdenv.mkDerivation {
|
||||
sha256 = "0q5hildq2xcig7yrqi26n7fqlanyssjirm7swy2a9icfxpppfpkn";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
makeFlags = [ "LINK=gcc" "CFLAGS=-O2" ];
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "LINK=${stdenv.cc.targetPrefix}cc" "CFLAGS=-O2" ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
@ -26,6 +26,6 @@ stdenv.mkDerivation {
|
||||
homepage = "http://www.davidviner.com/dlx.php";
|
||||
description = "DLX Simulator";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user