]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - gcc/patches/05_all_gcc48_gcc.c.patch0
xorg-x11-proto-devel: Fix build on aarch64
[people/arne_f/ipfire-3.x.git] / gcc / patches / 05_all_gcc48_gcc.c.patch0
CommitLineData
513f8ca4
MT
12014-01-01 Magnus Granberg <zorry@gentoo.org>
2
3 * gcc/gcc.c include esp.h
4 static const char *cc1_spec We set that in esp.h if ENABLE_ESP.
5
6--- gcc/gcc.c 2010-01-21 10:29:30.000000000 -0500
7+++ gcc/gcc.c 2010-01-29 23:29:16.000000000 -0500
8@@ -44,6 +44,7 @@
9 #include "opts.h"
10 #include "params.h"
11 #include "vec.h"
12+#include "config/esp.h" /* for --enable-esp support */
13 #include "filenames.h"
14
15 /* By default there is no special suffix for target executables. */
b57a0ea8 16@@ -870,7 +870,9 @@
513f8ca4 17
b57a0ea8 18 static const char *asm_debug = ASM_DEBUG_SPEC;
513f8ca4 19 static const char *cpp_spec = CPP_SPEC;
b57a0ea8 20-static const char *cc1_spec = CC1_SPEC;
513f8ca4 21+#ifndef ENABLE_ESP
b57a0ea8 22+static const char *cc1_spec = CC1_SPEC CC1_SSP_DEFAULT_SPEC;
513f8ca4
MT
23+#endif
24 static const char *cc1plus_spec = CC1PLUS_SPEC;
25 static const char *link_gcc_c_sequence_spec = LINK_GCC_C_SEQUENCE_SPEC;
26 static const char *link_ssp_spec = LINK_SSP_SPEC;