mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
cc-wrapper: don't export CPP
CPP defaults to $(CC) -E and setting it explicitly seems to cause issues in a number of packages like gcc and gdb. https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
This commit is contained in:
parent
f7f43ad554
commit
5d3527c148
@ -139,7 +139,6 @@ export ${role}CC=@named_cc@
|
||||
export ${role}CXX=@named_cxx@
|
||||
|
||||
for CMD in \
|
||||
cpp \
|
||||
ar as nm objcopy ranlib strip strings size ld windres
|
||||
do
|
||||
if
|
||||
|
Loading…
Reference in New Issue
Block a user