about summary refs log tree commit diff
path: root/pkgs/development/compilers/ghdl
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-09-10 00:30:53 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-09-10 00:32:13 +0200
commit001bde3df0766f83c04efa607e63c56e675f172c (patch)
treeefce13d69e399371e51f0cf985940e9a1664ba04 /pkgs/development/compilers/ghdl
parentc513e2ab39bac74dba9c57057805fa53b0765d6f (diff)
gcc45, gnat, ghdl: fix up the builds
Some parts are slightly puzzling, but it seems to work and it didn't
seem economical to put more effort into it.
Diffstat (limited to 'pkgs/development/compilers/ghdl')
-rw-r--r--pkgs/development/compilers/ghdl/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/development/compilers/ghdl/default.nix b/pkgs/development/compilers/ghdl/default.nix
index 3e84ce1d0ae0e..d8b0598e27834 100644
--- a/pkgs/development/compilers/ghdl/default.nix
+++ b/pkgs/development/compilers/ghdl/default.nix
@@ -1,9 +1,4 @@
 { stdenv, fetchurl, gnat, zlib }:
-
-# I think that mcode can only generate x86 code,
-# so it fails to link pieces on x86_64.
-assert stdenv.system == "i686-linux";
-
 let
   version = "0.33";
 in
@@ -22,13 +17,17 @@ stdenv.mkDerivation rec {
     sed -i s/-gnatwae/-gnatwa/ Makefile.in ghdl.gpr.in
   '';
 
+  hardeningDisable = [ "all" ];
+
   enableParallelBuilding = true;
 
   meta = {
     homepage = "http://sourceforge.net/p/ghdl-updates/wiki/Home/";
     description = "Free VHDL simulator, mcode flavour";
     maintainers = with stdenv.lib.maintainers; [viric];
-    platforms = with stdenv.lib.platforms; linux;
+    # I think that mcode can only generate x86 code,
+    # so it fails to link pieces on x86_64.
+    platforms = with stdenv.lib.platforms; [ "i686-linux" ];
     license = stdenv.lib.licenses.gpl2Plus;
   };
 }