2005-12-22 11:49:43 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2006-10-27 14:43:32 +02:00
|
|
|
myglibc=`cat ${NIX_GCC}/nix-support/orig-libc`
|
2005-12-22 11:49:43 +01:00
|
|
|
echo "glibc: $myglibc"
|
|
|
|
|
2007-02-05 15:55:15 +01:00
|
|
|
postConfigure=postConfigure
|
2005-12-22 11:49:43 +01:00
|
|
|
postConfigure() {
|
|
|
|
cp $myglibc/lib/crt1.o src
|
|
|
|
cp $myglibc/lib/crti.o src
|
|
|
|
cp $myglibc/lib/crtn.o src
|
2007-02-05 15:55:15 +01:00
|
|
|
|
|
|
|
for i in Makefile ./src/Makefile ./lib-src/Makefile ./leim/Makefile ./admin/unidata/Makefile; do
|
|
|
|
substituteInPlace $i --replace /bin/pwd pwd
|
|
|
|
done
|
2005-12-22 11:49:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
genericBuild
|