about summary refs log tree commit diff
path: root/make/lib/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-08-14T10·19+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-08-14T10·19+0000
commit714b7256cd5a6783813c3d3a7468f36ba637f567 (patch)
tree7383259dc8998d20ac10142beb96c73816c5b011 /make/lib/default.nix
parent039936567539c1d6d7a3b824b94726b3fed3343b (diff)
* Cleanup; sync with thesis.
Diffstat (limited to 'make/lib/default.nix')
-rw-r--r--make/lib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/lib/default.nix b/make/lib/default.nix
index a5059252daa7..a9b17d2ced77 100644
--- a/make/lib/default.nix
+++ b/make/lib/default.nix
@@ -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 [])
     ];
   };