XXX - force handing down of -no-gcc to off, so that cpp will predefine
__GNUC__ automatically. Note that this is probably not the Right solution; we should fix any in-tree uses of /usr/bin/cpp to use $CC -E. However, this is being added for now for backwards compatibility.
This commit is contained in:
parent
0bcc7933e9
commit
7157e2832f
4
gnu/dist/toolchain/gcc/cppspec.c
vendored
4
gnu/dist/toolchain/gcc/cppspec.c
vendored
@ -85,7 +85,11 @@ lang_specific_driver (errfn, in_argc, in_argv, in_added_libraries)
|
||||
int need_E = 1;
|
||||
|
||||
/* Do we need to insert -no-gcc? */
|
||||
#if 0
|
||||
int need_no_gcc = 1;
|
||||
#endif
|
||||
/* XXX - For NetBSD backwards compatibility */
|
||||
int need_no_gcc = 0;
|
||||
|
||||
/* Have we seen an input file? */
|
||||
int seen_input = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user