forked from mirrors/nixpkgs
* Fake Glibc's crti.o and crtn.o to make the linker happy.
svn path=/nixpkgs/trunk/; revision=6760
This commit is contained in:
parent
b131d474c7
commit
20d42ae673
|
@ -7,6 +7,11 @@ postInstall=postInstall
|
|||
postInstall() {
|
||||
(cd $out && ln -s lib-* lib)
|
||||
(cd $out/lib && ln -s start.o crt1.o)
|
||||
|
||||
# Fake crti.o and crtn.o.
|
||||
touch empty.c
|
||||
gcc -c empty.c -o $out/lib/crti.o
|
||||
gcc -c empty.c -o $out/lib/crtn.o
|
||||
}
|
||||
|
||||
genericBuild
|
||||
|
|
Loading…
Reference in a new issue