Committed: fix --enable-build-with-cxx in c-opts.c

Submitted by Joern Rennecke on June 21, 2010, 12:50 p.m.


Message ID
State New
Headers show

Commit Message

Joern Rennecke June 21, 2010, 12:50 p.m.
The target spu-elf failed to build with --enable-build-with-cxx
because c-opts.c was using a target macro without including tm_p.h,
so the function that implemented the macro had no prototype in scope.

Fixed by adding the missing include.
Bootstrapped & regression tested on i686-pc-linux-gnu in revision 161065.
committed as obvious.
2010-06-21  Joern Rennecke  <>

	* c-opts.c: Include "tm_p.h".

Patch hide | download patch | download mbox

Index: c-opts.c
--- c-opts.c	(revision 161065)
+++ c-opts.c	(working copy)
@@ -37,6 +37,7 @@  along with GCC; see the file COPYING3.  
 #include "options.h"
 #include "mkdeps.h"
 #include "target.h"		/* For gcc_targetcm.  */
+#include "tm_p.h"		/* For C_COMMON_OVERRIDE_OPTIONS.  */