summaryrefslogtreecommitdiff
path: root/mach/Machrules
diff options
context:
space:
mode:
Diffstat (limited to 'mach/Machrules')
-rw-r--r--mach/Machrules2
1 files changed, 1 insertions, 1 deletions
diff --git a/mach/Machrules b/mach/Machrules
index ed2f6fa0bd..6e87397221 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -56,7 +56,7 @@ MIGFLAGS = -DMACH_IPC_COMPAT=0 -DSTANDALONE -DTypeCheck=0 \
$(+includes) $(migdefines) -subrprefix __
# Putting CC in the enivronment makes the mig wrapper script
# use the same compiler setup we are using to run cpp.
-MIG := CC='${CC}' $(MIG)
+MIG := CC='${CC}' CPP='${CPP}' $(MIG)
.SUFFIXES: .defs # Just to set specified_rule_matched.