mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
GCC 4.4: Make sure $PWD is not in $CPATH and $LIBRARY_PATH.
svn path=/nixpkgs/trunk/; revision=16520
This commit is contained in:
parent
acbfd2f679
commit
89fa345b84
@ -42,10 +42,10 @@ if test "$noSysDirs" = "1"; then
|
||||
|
||||
# Setting $CPATH makes sure both `gcc' and `xgcc' find the C
|
||||
# library headers, regarless of the language being compiled.
|
||||
export CPATH="$NIX_FIXINC_DUMMY:$CPATH"
|
||||
export CPATH="$NIX_FIXINC_DUMMY${CPATH:+:}$CPATH"
|
||||
|
||||
# Likewise, to help it find `crti.o' and similar files.
|
||||
export LIBRARY_PATH="$glibc_libdir:$LIBRARY_PATH"
|
||||
export LIBRARY_PATH="$glibc_libdir${LIBRARY_PATH:+:}$LIBRARY_PATH"
|
||||
|
||||
echo "setting \$CPATH to \`$CPATH'"
|
||||
echo "setting \$LIBRARY_PATH to \`$LIBRARY_PATH'"
|
||||
|
Loading…
Reference in New Issue
Block a user