forked from mirrors/nixpkgs
cc-wrapper: Define env vars with full path
This commit is contained in:
parent
3e034bac1a
commit
1dc0404d6e
|
@ -109,10 +109,10 @@ fi
|
||||||
|
|
||||||
export NIX_${role_pre}CC=@out@
|
export NIX_${role_pre}CC=@out@
|
||||||
|
|
||||||
export ${role_pre}CC=@named_cc@
|
export ${role_pre}CC=@out@/bin/@named_cc@
|
||||||
export ${role_pre}CXX=@named_cxx@
|
export ${role_pre}CXX=@out@/bin/@named_cxx@
|
||||||
export CC${role_post}=@named_cc@
|
export CC${role_post}=@out@/bin/@named_cc@
|
||||||
export CXX${role_post}=@named_cxx@
|
export CXX${role_post}=@out@/bin/@named_cxx@
|
||||||
|
|
||||||
# If unset, assume the default hardening flags.
|
# If unset, assume the default hardening flags.
|
||||||
: ${NIX_HARDENING_ENABLE="fortify stackprotector pic strictoverflow format relro bindnow"}
|
: ${NIX_HARDENING_ENABLE="fortify stackprotector pic strictoverflow format relro bindnow"}
|
||||||
|
|
Loading…
Reference in a new issue