* 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=
|
IFS=
|
||||||
|
|
||||||
realgcc=@GCC@
|
realgcc=@GCC@
|
||||||
libc=@LIBC@
|
|
||||||
|
|
||||||
justcompile=0
|
justcompile=0
|
||||||
for i in $@; do
|
for i in $@; do
|
||||||
|
@ -19,7 +18,7 @@ for i in $@; do
|
||||||
done
|
done
|
||||||
|
|
||||||
IFS=" "
|
IFS=" "
|
||||||
extra=$NIX_CFLAGS
|
extra=($NIX_CFLAGS)
|
||||||
if test "$justcompile" != "1"; then
|
if test "$justcompile" != "1"; then
|
||||||
extra=(${extra[@]} $NIX_LDFLAGS)
|
extra=(${extra[@]} $NIX_LDFLAGS)
|
||||||
fi
|
fi
|
|
@ -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