summaryrefslogtreecommitdiff
path: root/cross/cross-gcc/gcc-4.8-filename-output.patch
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-03-15 06:53:44 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-03-15 06:53:44 -0300
commit2b813b90d639d9072233cd039f3d9b92d4070cfb (patch)
tree934056b5acfeedadd1db7bfdd44caeb3925b0fa9 /cross/cross-gcc/gcc-4.8-filename-output.patch
parent93c5729a5cbb9922fdee2d6d9db8c962b081b653 (diff)
downloadabslibre-2b813b90d639d9072233cd039f3d9b92d4070cfb.tar.gz
abslibre-2b813b90d639d9072233cd039f3d9b92d4070cfb.tar.bz2
abslibre-2b813b90d639d9072233cd039f3d9b92d4070cfb.zip
add [cross-gcc] to [cross] repo
Diffstat (limited to 'cross/cross-gcc/gcc-4.8-filename-output.patch')
-rw-r--r--cross/cross-gcc/gcc-4.8-filename-output.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/cross/cross-gcc/gcc-4.8-filename-output.patch b/cross/cross-gcc/gcc-4.8-filename-output.patch
new file mode 100644
index 000000000..6951eb239
--- /dev/null
+++ b/cross/cross-gcc/gcc-4.8-filename-output.patch
@@ -0,0 +1,17 @@
+--- gcc/c-family/c-opts.c (revision 200330)
++++ gcc/c-family/c-opts.c (working copy)
+@@ -1338,10 +1338,14 @@ c_finish_options (void)
+
+ /* Give CPP the next file given by -include, if any. */
+ static void
+ push_command_line_include (void)
+ {
++ // This can happen if disabled by -imacros for example.
++ if (include_cursor > deferred_count)
++ return;
++
+ if (!done_preinclude)
+ {
+ done_preinclude = true;
+ if (flag_hosted && std_inc && !cpp_opts->preprocessed)
+ {