2004-03-09 18:16:02 +01:00
|
|
|
#! /bin/sh -e
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2004-03-09 18:16:02 +01:00
|
|
|
. $stdenv/setup
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2004-03-09 18:16:02 +01:00
|
|
|
tar xvfj $src
|
|
|
|
cd binutils-*
|
2003-11-02 18:42:19 +01:00
|
|
|
|
|
|
|
# Clear the default library search path.
|
2004-03-11 18:26:14 +01:00
|
|
|
if test "$noSysDirs" = "1"; then
|
2004-03-09 18:16:02 +01:00
|
|
|
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt
|
2003-11-02 18:42:19 +01:00
|
|
|
fi
|
|
|
|
|
2004-03-09 18:16:02 +01:00
|
|
|
./configure --prefix=$out
|
|
|
|
make
|
|
|
|
make install
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2004-03-09 18:16:02 +01:00
|
|
|
strip -S $out/lib/*.a
|