diff options
author | Francois-Rene Rideau <fare@tunes.org> | 2020-10-21 00:08:26 -0400 |
---|---|---|
committer | Francois-Rene Rideau <fare@tunes.org> | 2020-11-06 12:03:59 -0500 |
commit | 0febc5788322885bf5dcb092044f3d5cd29385bf (patch) | |
tree | d2717c2c5e46b1db59918436facb99f164189955 /pkgs/development/compilers/gambit/build.nix | |
parent | 65a90770955a27f5a5b73649526bb0e1770183d1 (diff) |
gambit: support targets, modules
Diffstat (limited to 'pkgs/development/compilers/gambit/build.nix')
-rw-r--r-- | pkgs/development/compilers/gambit/build.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gambit/build.nix b/pkgs/development/compilers/gambit/build.nix index c6a48bd744e75..a4b884147db17 100644 --- a/pkgs/development/compilers/gambit/build.nix +++ b/pkgs/development/compilers/gambit/build.nix @@ -35,6 +35,7 @@ gccStdenv.mkDerivation rec { #runtimeDeps = [ gnused gnugrep ]; configureFlags = [ + "--enable-targets=${gambit-params.targets}" "--enable-single-host" "--enable-c-opt=${optimizationSetting}" "--enable-gcc-opts" @@ -94,6 +95,7 @@ gccStdenv.mkDerivation rec { # Now use the bootstrap compiler to build the real thing! make -j$NIX_BUILD_CORES from-scratch + ${lib.optionalString gambit-params.modules "make -j$NIX_BUILD_CORES modules"} ''; postInstall = '' |