summary refs log tree commit diff
path: root/mach
diff options
context:
space:
mode:
Diffstat (limited to 'mach')
-rw-r--r--mach/Machrules5
1 files changed, 3 insertions, 2 deletions
diff --git a/mach/Machrules b/mach/Machrules
index 6e87397221..79dec997e9 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -1,5 +1,6 @@
 # Rules for MiG interfaces that want to go into the C library.
-# Copyright (C) 1991,92,93,94,95,96,98,99,2001 Free Software Foundation, Inc.
+# Copyright (C) 1991,92,93,94,95,96,98,99,2001,02
+#	Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -56,7 +57,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}' CPP='${CPP}' $(MIG)
+MIG := CC='${CC}' CPP='${CPP} -x c' $(MIG)
 
 .SUFFIXES: .defs	# Just to set specified_rule_matched.