about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-21 14:23:27 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-21 14:23:27 +0100
commitf5773e1f02267d68fd8ba4d880068db56498f2d5 (patch)
tree30a06dc47210830425776efcbc19f4d7feb76ff1 /pkgs
parent357a7893666ee2d1ca5d974ba4df1ec80e44ee25 (diff)
downloadnixlib-f5773e1f02267d68fd8ba4d880068db56498f2d5.tar
nixlib-f5773e1f02267d68fd8ba4d880068db56498f2d5.tar.gz
nixlib-f5773e1f02267d68fd8ba4d880068db56498f2d5.tar.bz2
nixlib-f5773e1f02267d68fd8ba4d880068db56498f2d5.tar.lz
nixlib-f5773e1f02267d68fd8ba4d880068db56498f2d5.tar.xz
nixlib-f5773e1f02267d68fd8ba4d880068db56498f2d5.tar.zst
nixlib-f5773e1f02267d68fd8ba4d880068db56498f2d5.zip
gcc-4.8: Enable Darwin and FreeBSD
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/gcc/4.8/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix
index 01c886739d8c..38180990b83d 100644
--- a/pkgs/development/compilers/gcc/4.8/default.nix
+++ b/pkgs/development/compilers/gcc/4.8/default.nix
@@ -509,7 +509,10 @@ stdenv.mkDerivation ({
     # Volunteers needed for the {Cyg,Dar}win ports of *PPL.
     # gnatboot is not available out of linux platforms, so we disable the darwin build
     # for the gnat (ada compiler).
-    platforms = stdenv.lib.platforms.linux ++ optionals (langAda == false && libelf == null) [ "i686-darwin" ];
+    platforms =
+      stdenv.lib.platforms.linux ++
+      stdenv.lib.platforms.freebsd ++
+      optionals (langAda == false) stdenv.lib.platforms.darwin;
   };
 }