mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
* Cleanup; sync with thesis.
This commit is contained in:
parent
0399365675
commit
714b7256cd
3 changed files with 12 additions and 19 deletions
|
@ -8,7 +8,7 @@ rec {
|
|||
stdenv = pkgs.stdenv;
|
||||
|
||||
|
||||
compileC = {main, localIncludes ? [], cFlags ? "", forSharedLib ? false}:
|
||||
compileC = {main, localIncludes ? "auto", cFlags ? "", sharedLib ? false}:
|
||||
stdenv.mkDerivation {
|
||||
name = "compile-c";
|
||||
builder = ./compile-c.sh;
|
||||
|
@ -24,7 +24,7 @@ rec {
|
|||
inherit main;
|
||||
cFlags = [
|
||||
cFlags
|
||||
(if forSharedLib then ["-fpic"] else [])
|
||||
(if sharedLib then ["-fpic"] else [])
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue