Skip to content

Commit

Permalink
Remove excessive hard coded configure flags [Fixes #20]
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvishJerricco committed Jul 22, 2018
1 parent 6a36877 commit 2257212
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ in bootStages ++ [
] ++ toolPackages.lib.optional crossSystem.isWasm "pic";
dontDisableStatic = true;
NIX_NO_SELF_RPATH=1;
configureFlags =
(let flags = args.configureFlags or [];
in if builtins.isString flags then [flags] else flags)
++ toolPackages.lib.optionals (!(args.dontConfigureStatic or false)) ["--enable-static" "--disable-shared"];
dontStrip = true;
});
isStatic = true;
Expand Down
2 changes: 1 addition & 1 deletion nixpkgs

0 comments on commit 2257212

Please sign in to comment.