84dd812f33
* The statically linked bootstrap tools are now automatically reproducable, just do: $ nix-build ./make-bootstrap-tools.nix The resulting binaries in result/in-nixpkgs go to stdenv/linux/bootstrap/<platform>/, and the tarballs in result/on-server go to https://svn.cs.uu.nl:12443/repos/trace/tarballs/trunk/stdenv-linux/<platform>/<revision>/. These are checked out on nix.cs.uu.nl under http://.../dist/tarballs. * The statically linked libraries all use dietlibc now (except patchelf and glibc), so they are much smaller. This is especially nice for the tools in the Nixpkgs tree, since it makes Nixpkgs tarballs smaller. * Use Binutils 2.17 and GCC 4.1.1 for the bootstrap. * The stdenv is now based on Glibc 2.5. I hope it works ;-) svn path=/nixpkgs/trunk/; revision=6803
9 lines
160 B
Bash
9 lines
160 B
Bash
export NIX_ENFORCE_PURITY=1
|
|
|
|
if test "$param1" = "static"; then
|
|
export NIX_CFLAGS_LINK="-static"
|
|
export NIX_LDFLAGS_BEFORE="-static"
|
|
fi
|
|
|
|
havePatchELF=1
|