1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#! /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