* Renamed stdenv to stdenv-linux.
* Fix a bug that occurs when NIX_CFLAGS is empty. svn path=/nixpkgs/trunk/; revision=241
This commit is contained in:
parent
5e4cbed2b3
commit
5f248af2a0
@ -3,7 +3,6 @@
|
||||
IFS=
|
||||
|
||||
realgcc=@GCC@
|
||||
libc=@LIBC@
|
||||
|
||||
justcompile=0
|
||||
for i in $@; do
|
||||
@ -19,7 +18,7 @@ for i in $@; do
|
||||
done
|
||||
|
||||
IFS=" "
|
||||
extra=$NIX_CFLAGS
|
||||
extra=($NIX_CFLAGS)
|
||||
if test "$justcompile" != "1"; then
|
||||
extra=(${extra[@]} $NIX_LDFLAGS)
|
||||
fi
|
9
pkgs/stdenv-linux/stdenv.fix
Normal file
9
pkgs/stdenv-linux/stdenv.fix
Normal file
@ -0,0 +1,9 @@
|
||||
Package(
|
||||
[ ("name", "stdenv-linux")
|
||||
, ("build", Relative("stdenv-linux/stdenv-build.sh"))
|
||||
|
||||
, ("gccwrapper", Relative("stdenv-linux/gcc-wrapper.sh"))
|
||||
|
||||
, ("glibc", IncludeFix("glibc/glibc.fix"))
|
||||
]
|
||||
)
|
@ -1,9 +0,0 @@
|
||||
Package(
|
||||
[ ("name", "stdenv-linux")
|
||||
, ("build", Relative("stdenv/stdenv-build.sh"))
|
||||
|
||||
, ("gccwrapper", Relative("stdenv/gcc-wrapper.sh"))
|
||||
|
||||
, ("glibc", IncludeFix("glibc/glibc.fix"))
|
||||
]
|
||||
)
|
Loading…
Reference in New Issue
Block a user