* gcc-wrapper: use the right dynamic linker when -m32 is used.

* An attribute `stdenv_32bit' that returns a stdenv capable of
  building 32-bit binaries.
* grub: build on x86_64-linux.

svn path=/nixpkgs/trunk/; revision=12211
This commit is contained in:
Eelco Dolstra
2008-06-29 16:13:02 +00:00
parent 66b3c35d9c
commit 7d1ba0ace0
5 changed files with 37 additions and 24 deletions
-4
View File
@@ -1,9 +1,5 @@
{stdenv, fetchurl, autoconf, automake}:
if stdenv.system == "x86_64-linux" then
abort "Grub doesn't build on x86_64-linux. You should use the build for i686-linux instead."
else
stdenv.mkDerivation {
name = "grub-0.97-patch-1.7";