Skip to contentSkip to conversation

use CC for defining CPP

PATCH Applied Jan Beulich 2 participants 2 messages Mar 22, 2007 – Mar 23, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 use CC for defining CPP

Since CPP is being used with CFLAGS, it should be in lock-step with CC, to avoid having to specify both CC and CPP for the build.

config/StdGNU.mk +1 -1
Index: 2007-03-19/config/StdGNU.mk
===================================================================
@@ -1,7 +1,7 @@
 AS         = $(CROSS_COMPILE)as
 LD         = $(CROSS_COMPILE)ld
 CC         = $(CROSS_COMPILE)gcc
-CPP        = $(CROSS_COMPILE)gcc -E
+CPP        = $(CC) -E
 AR         = $(CROSS_COMPILE)ar
 RANLIB     = $(CROSS_COMPILE)ranlib
 NM         = $(CROSS_COMPILE)nm
Applied
#1 lore raw
Quoted 4 lines · Jan Beulich

Since CPP is being used with CFLAGS, it should be in lock-step with CC, to avoid having to specify both CC and CPP for the build.

Applied, thanks Jan.

Ewan.