* Indentation fixes.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22961
This commit is contained in:
Eelco Dolstra
2010-08-05 13:21:29 +00:00
parent e0a11f532b
commit 6fe628b99a
2 changed files with 61 additions and 55 deletions
@@ -1,13 +1,16 @@
{ fetchurl, stdenv, ppl, static ? false }:
let
# --with-host-libstdcxx helps when *ppl* is built statically.
# But I will suppose that this is statically built only when ppl is also
# statically built.
staticFlags = assert static -> ppl.dontDisableStatic == true;
if static then " --enable-static --disable-shared --with-host-libstdcxx=-lstdc++" else "";
# --with-host-libstdcxx helps when *ppl* is built statically.
# But I will suppose that this is statically built only when ppl is also
# statically built.
staticFlags =
assert static -> ppl.dontDisableStatic == true;
if static then " --enable-static --disable-shared --with-host-libstdcxx=-lstdc++" else "";
in
stdenv.mkDerivation rec {
name = "cloog-ppl-0.15.9";
@@ -22,7 +25,7 @@ stdenv.mkDerivation rec {
dontDisableStatic = if static then true else false;
crossAttrs = {
configureFlags = "--with-ppl=${ppl.hostDrv}" + staticFlags;
configureFlags = "--with-ppl=${ppl.hostDrv}" + staticFlags;
};
doCheck = true;