about summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/glibc/builder.sh')
-rwxr-xr-xpkgs/development/libraries/glibc/builder.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/libraries/glibc/builder.sh b/pkgs/development/libraries/glibc/builder.sh
index e3842a81c1db7..b671d269cbff4 100755
--- a/pkgs/development/libraries/glibc/builder.sh
+++ b/pkgs/development/libraries/glibc/builder.sh
@@ -5,22 +5,22 @@ export NIX_NO_SELF_RPATH=1
 . $stdenv/setup
 
 tar xvfj $glibcSrc
-(cd glibc-* && tar xvfj $linuxthreadsSrc)
+(cd glibc-* && tar xvfj $linuxthreadsSrc) || false
 
-(cd glibc-* && patch -p1 < $vaargsPatch)
+(cd glibc-* && patch -p1 < $vaargsPatch) || false
 
 mkdir build
 cd build
-LDFLAGS=-Wl,-S ../glibc-*/configure --prefix=$out --enable-add-ons --disable-profile
+../glibc-*/configure --prefix=$out --enable-add-ons --disable-profile
 
 make
 make install
-#make localedata/install-locales
+make localedata/install-locales
 strip -S $out/lib/*.a $out/lib/*.so $out/lib/gconv/*.so || true
 strip -s $out/bin/* $out/sbin/* $out/libexec/* || true
 
-ln -sf /etc/ld.so.cache $out/etc/ld.so.cache
+rm $out/etc/ld.so.cache
 
-(cd $out/include && ln -s $kernelHeaders/include/* .)
+(cd $out/include && ln -s $kernelHeaders/include/* .) || false
 
 exit 0