1
0
Fork 0
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:
Eelco Dolstra 2005-08-14 10:19:55 +00:00
parent 0399365675
commit 714b7256cd
3 changed files with 12 additions and 19 deletions

View file

@ -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 [])
];
};