* gcc-wrapper now filters out -L and -I flags referring to paths
outside the store (in pure builds). svn path=/nixpkgs/trunk/; revision=817
This commit is contained in:
@@ -21,6 +21,11 @@ param5=@param5@
|
||||
. @preHook@
|
||||
|
||||
|
||||
if test -f @gcc@/nix-support/setup-hook; then
|
||||
. @gcc@/nix-support/setup-hook
|
||||
fi
|
||||
|
||||
|
||||
# Recursively find all build inputs.
|
||||
findInputs()
|
||||
{
|
||||
@@ -76,6 +81,10 @@ export NIX_STRIP_DEBUG=1
|
||||
export NIX_CFLAGS_STRIP="-g0 -Wl,-s"
|
||||
|
||||
|
||||
# Where is the store? This is required for purity checking.
|
||||
export NIX_STORE=$(dirname $out)/ # !!! hack
|
||||
|
||||
|
||||
# Execute the post-hook.
|
||||
. @postHook@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user