mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
everything to build glibc statically succesfully
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2079
This commit is contained in:
parent
4b16211201
commit
8125cd8915
@ -1,6 +1,6 @@
|
||||
# glibc cannot have itself in its rpath.
|
||||
export NIX_NO_SELF_RPATH=1
|
||||
export NIX_DEBUG=1
|
||||
#export NIX_DEBUG=1
|
||||
export NIX_DONT_SET_RPATH=1
|
||||
|
||||
. $stdenv/setup
|
||||
@ -45,14 +45,6 @@ preConfigure() {
|
||||
|
||||
preConfigure=preConfigure
|
||||
|
||||
configurePhase() {
|
||||
preConfigure
|
||||
$SHELL $configureScript $configureFlags --prefix=$out
|
||||
}
|
||||
|
||||
configurePhase=configurePhase
|
||||
|
||||
|
||||
postInstall() {
|
||||
if test -n "$installLocales"; then
|
||||
make localedata/install-locales
|
||||
|
@ -2,4 +2,5 @@ FILES="configure io/ftwtest-sh"
|
||||
for i in $FILES ; do
|
||||
sed -e "s^@PWD@^pwd^g" < $i > $i.new
|
||||
mv $i.new $i
|
||||
chmod +x $i
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user