Permalink
Browse files

gcc-4.8: build Objective-C/C++ support on darwin

  • Loading branch information...
jwiegley committed May 31, 2014
1 parent 2f0ecbd commit 0369769bd9843c7ddaab1f9ba77732337abfaee2
Showing with 5 additions and 1 deletion.
  1. +5 −1 pkgs/development/compilers/gcc/4.8/default.nix
@@ -1,5 +1,7 @@
{ stdenv, fetchurl, noSysDirs
, langC ? true, langCC ? true, langFortran ? false
, langObjC ? stdenv.isDarwin
, langObjCpp ? stdenv.isDarwin
, langJava ? false
, langAda ? false
, langVhdl ? false
@@ -352,6 +354,8 @@ stdenv.mkDerivation ({
++ optional langAda "ada"
++ optional langVhdl "vhdl"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
@@ -490,7 +494,7 @@ stdenv.mkDerivation ({
else null;
passthru =
{ inherit langC langCC langAda langFortran langVhdl langGo enableMultilib version; };
{ inherit langC langCC langObjC langObjCpp langAda langFortran langVhdl langGo enableMultilib version; };
inherit enableParallelBuilding;

2 comments on commit 0369769

@jwiegley

This comment has been minimized.

Contributor

jwiegley replied May 31, 2014

This commit is from @vcunat. My apologies, I forgot to re-import the change using git am so that you would have attribution.

@vcunat

This comment has been minimized.

Member

vcunat replied May 31, 2014

I've got no use for those bitcoins anyway ;-)

Please sign in to comment.