* pcre: don't compile with C++ support when doing a dietlibc build.

* GCC 4.2: restore the ability to build a statically linked compiler,
  needed for the Nixpkgs bootstrap.
* GCC 4.2: use symlinks instead of hard links in $out/bin
  (NIXPKGS-62).

svn path=/nixpkgs/branches/stdenv-updates/; revision=9771
This commit is contained in:
Eelco Dolstra
2007-11-21 19:28:54 +00:00
parent 10d9d4b456
commit 8b3186528e
7 changed files with 31 additions and 21 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
args: with args;
{stdenv, fetchurl, unicodeSupport ? false, cplusplusSupport ? true}:
stdenv.mkDerivation {
name = "pcre-7.4";
@@ -7,7 +7,8 @@ stdenv.mkDerivation {
sha256 = "1rdks2h5f3p2d71c4jnxaic1c9gmgsfky80djnafcdbdrhzkiyx5";
};
configureFlags =
if unicodeSupport then
(if unicodeSupport then
"--enable-unicode-properties --enable-shared --disable-static"
else "";
else "") +
(if !cplusplusSupport then "--disable-cpp" else "");
}