nixpkgs/pkgs/development/tools/misc/binutils/builder.sh
Eelco Dolstra a1b3ae0c81 * stdenv-nix-linux should more-or-less work again now.
svn path=/nixpkgs/trunk/; revision=826
2004-03-09 17:16:02 +00:00

18 lines
258 B
Bash
Executable file

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