05ab87c7e1
svn path=/nixpkgs/trunk/; revision=4470
21 lines
463 B
Bash
21 lines
463 B
Bash
source $stdenv/setup
|
|
|
|
if test $cross = "arm-linux" ; then
|
|
configureFlags="--target=arm-linux"
|
|
elif test $cross = "mips-linux" ; then
|
|
configureFlags="--target=mips-linux"
|
|
elif test $cross = "sparc-linux" ; then
|
|
configureFlags="--target=sparc-linux"
|
|
fi
|
|
|
|
patchConfigure() {
|
|
# Clear the default library search path.
|
|
if test "$noSysDirs" = "1"; then
|
|
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt
|
|
fi
|
|
}
|
|
|
|
preConfigure=patchConfigure
|
|
|
|
genericBuild
|