* 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:
Eelco Dolstra 2003-08-04 07:13:29 +00:00
parent 5e4cbed2b3
commit 5f248af2a0
4 changed files with 10 additions and 11 deletions

View File

@ -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

View 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"))
]
)

View File

@ -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"))
]
)