2003-08-18 21:41:45 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
|
|
|
|
tar xvfj $src || exit 1
|
|
|
|
cd binutils-* || exit 1
|
2003-08-25 21:26:46 +02:00
|
|
|
|
|
|
|
# Clear the default library search path.
|
|
|
|
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt || exit 1
|
|
|
|
|
2003-08-18 21:41:45 +02:00
|
|
|
./configure --prefix=$out || exit 1
|
|
|
|
make || exit 1
|
|
|
|
make install || exit 1
|
2003-08-25 21:26:46 +02:00
|
|
|
|
|
|
|
strip -S $out/lib/*.a || exit 1
|