From 7d3be6b5f9ddd805deea59b4f654e483e0112b17 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 5 Dec 2012 16:44:04 +0100 Subject: [PATCH] dlx: link with gcc instead of g++ -- there is no c++ code here --- pkgs/misc/emulators/dlx/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/misc/emulators/dlx/default.nix b/pkgs/misc/emulators/dlx/default.nix index 9cb761264ec..c23b60c29b3 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/