From 5d3527c148f73c43d5dc0e97aeeb0678f78622c2 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sun, 13 Aug 2017 16:14:29 +0200 Subject: [PATCH] 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 --- pkgs/build-support/cc-wrapper/setup-hook.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/build-support/cc-wrapper/setup-hook.sh b/pkgs/build-support/cc-wrapper/setup-hook.sh index c6abd6281d2..e43c1609edb 100644 --- a/pkgs/build-support/cc-wrapper/setup-hook.sh +++ b/pkgs/build-support/cc-wrapper/setup-hook.sh @@ -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