mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
b90781ec21
the new $NIX_GCC/nix-support/dynamic-linker file to locate the dynamic linker directly (don't hardcode ld-linux.so.2). svn path=/nixpkgs/trunk/; revision=6873
14 lines
243 B
Bash
14 lines
243 B
Bash
source $stdenv/setup
|
|
|
|
myglibc=`cat ${NIX_GCC}/nix-support/orig-libc`
|
|
echo "glibc: $myglibc"
|
|
|
|
postConfigure() {
|
|
cp $myglibc/lib/crt1.o src
|
|
cp $myglibc/lib/crti.o src
|
|
cp $myglibc/lib/crtn.o src
|
|
}
|
|
postConfigure=postConfigure
|
|
|
|
genericBuild
|