summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-12-05 16:44:04 +0100
committerPeter Simons <simons@cryp.to>2012-12-05 16:44:04 +0100
commit7d3be6b5f9ddd805deea59b4f654e483e0112b17 (patch)
treea0f5afcb49516aabbaf12cf90ae269619f3d3734 /pkgs/misc
parentc4038db19df17b2e3ff8f82d691b67c1fcf52d3f (diff)
downloadnixlib-7d3be6b5f9ddd805deea59b4f654e483e0112b17.tar
nixlib-7d3be6b5f9ddd805deea59b4f654e483e0112b17.tar.gz
nixlib-7d3be6b5f9ddd805deea59b4f654e483e0112b17.tar.bz2
nixlib-7d3be6b5f9ddd805deea59b4f654e483e0112b17.tar.lz
nixlib-7d3be6b5f9ddd805deea59b4f654e483e0112b17.tar.xz
nixlib-7d3be6b5f9ddd805deea59b4f654e483e0112b17.tar.zst
nixlib-7d3be6b5f9ddd805deea59b4f654e483e0112b17.zip
dlx: link with gcc instead of g++ -- there is no c++ code here
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/emulators/dlx/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/dlx/default.nix b/pkgs/misc/emulators/dlx/default.nix
index 9cb761264ec0..c23b60c29b30 100644
--- a/pkgs/misc/emulators/dlx/default.nix
+++ b/pkgs/misc/emulators/dlx/default.nix
@@ -10,6 +10,8 @@ stdenv.mkDerivation {
 
   buildInputs = [ unzip ];
 
+  makeFlags = "LINK=gcc CFLAGS=-O2";
+
   installPhase = ''
     mkdir -p $out/include/dlx $out/share/dlx/{examples,doc} $out/bin
     mv -v masm mon dasm $out/bin/