nixpkgs/pkgs/development/tools/misc/binutils/builder.sh
Eelco Dolstra de13527000 * Finally got stdenv-nix-linux working again. Still not perfect,
though.
* libxml2: upgrade to latest.
* octavefront/rna: keep debug info.

svn path=/nixpkgs/trunk/; revision=830
2004-03-11 17:26:14 +00:00

18 lines
254 B
Bash
Executable file

#! /bin/sh -e
. $stdenv/setup
tar xvfj $src
cd binutils-*
# Clear the default library search path.
if test "$noSysDirs" = "1"; then
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt
fi
./configure --prefix=$out
make
make install
strip -S $out/lib/*.a