From 714b7256cd5a6783813c3d3a7468f36ba637f567 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 14 Aug 2005 10:19:55 +0000 Subject: * Cleanup; sync with thesis. --- make/lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/lib') 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 []) ]; }; -- cgit 1.4.1