Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
gcc-4.8: build Objective-C/C++ support on darwin
- Loading branch information
Showing
with
5 additions
and
1 deletion.
-
+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; |
|
|
|
|
|
This comment has been minimized.
This commit is from @vcunat. My apologies, I forgot to re-import the change using git am so that you would have attribution.
This comment has been minimized.
I've got no use for those bitcoins anyway ;-)