diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.3/0030-Ensure-target-gcc-headers-can-be-included.patch | 36 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-8.2/0023-Ensure-target-gcc-headers-can-be-included.patch | 36 |
2 files changed, 0 insertions, 72 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3/0030-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-7.3/0030-Ensure-target-gcc-headers-can-be-included.patch index 568ba95ea6..c6ecce9736 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3/0030-Ensure-target-gcc-headers-can-be-included.patch +++ b/meta/recipes-devtools/gcc/gcc-7.3/0030-Ensure-target-gcc-headers-can-be-included.patch | |||
@@ -57,42 +57,6 @@ index 10b96eca0a7..c8da0884872 100644 | |||
57 | #ifdef LOCAL_INCLUDE_DIR | 57 | #ifdef LOCAL_INCLUDE_DIR |
58 | /* /usr/local/include comes before the fixincluded header files. */ | 58 | /* /usr/local/include comes before the fixincluded header files. */ |
59 | { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 }, | 59 | { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 }, |
60 | diff --git a/gcc/defaults.h b/gcc/defaults.h | ||
61 | index 7ad92d920f8..39848cc9c0e 100644 | ||
62 | --- a/gcc/defaults.h | ||
63 | +++ b/gcc/defaults.h | ||
64 | @@ -1475,4 +1475,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | ||
65 | #define DWARF_GNAT_ENCODINGS_DEFAULT DWARF_GNAT_ENCODINGS_GDB | ||
66 | #endif | ||
67 | |||
68 | +/* Default prefixes to attach to command names. */ | ||
69 | + | ||
70 | +#ifndef STANDARD_STARTFILE_PREFIX_1 | ||
71 | +#define STANDARD_STARTFILE_PREFIX_1 "/lib/" | ||
72 | +#endif | ||
73 | +#ifndef STANDARD_STARTFILE_PREFIX_2 | ||
74 | +#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/" | ||
75 | +#endif | ||
76 | + | ||
77 | #endif /* ! GCC_DEFAULTS_H */ | ||
78 | diff --git a/gcc/gcc.c b/gcc/gcc.c | ||
79 | index c73d4023987..b27245dbf77 100644 | ||
80 | --- a/gcc/gcc.c | ||
81 | +++ b/gcc/gcc.c | ||
82 | @@ -1472,13 +1472,6 @@ static const char *gcc_libexec_prefix; | ||
83 | |||
84 | /* Default prefixes to attach to command names. */ | ||
85 | |||
86 | -#ifndef STANDARD_STARTFILE_PREFIX_1 | ||
87 | -#define STANDARD_STARTFILE_PREFIX_1 "/lib/" | ||
88 | -#endif | ||
89 | -#ifndef STANDARD_STARTFILE_PREFIX_2 | ||
90 | -#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/" | ||
91 | -#endif | ||
92 | - | ||
93 | #ifdef CROSS_DIRECTORY_STRUCTURE /* Don't use these prefixes for a cross compiler. */ | ||
94 | #undef MD_EXEC_PREFIX | ||
95 | #undef MD_STARTFILE_PREFIX | ||
96 | -- | 60 | -- |
97 | 2.12.2 | 61 | 2.12.2 |
98 | 62 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-8.2/0023-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-8.2/0023-Ensure-target-gcc-headers-can-be-included.patch index 4d4da1a524..73db3e6916 100644 --- a/meta/recipes-devtools/gcc/gcc-8.2/0023-Ensure-target-gcc-headers-can-be-included.patch +++ b/meta/recipes-devtools/gcc/gcc-8.2/0023-Ensure-target-gcc-headers-can-be-included.patch | |||
@@ -57,42 +57,6 @@ index b36a979d5ba..e2e187dedaf 100644 | |||
57 | #ifdef LOCAL_INCLUDE_DIR | 57 | #ifdef LOCAL_INCLUDE_DIR |
58 | /* /usr/local/include comes before the fixincluded header files. */ | 58 | /* /usr/local/include comes before the fixincluded header files. */ |
59 | { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 }, | 59 | { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 }, |
60 | diff --git a/gcc/defaults.h b/gcc/defaults.h | ||
61 | index 78a08a33f12..c8851277674 100644 | ||
62 | --- a/gcc/defaults.h | ||
63 | +++ b/gcc/defaults.h | ||
64 | @@ -1451,4 +1451,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | ||
65 | #define DWARF_GNAT_ENCODINGS_DEFAULT DWARF_GNAT_ENCODINGS_GDB | ||
66 | #endif | ||
67 | |||
68 | +/* Default prefixes to attach to command names. */ | ||
69 | + | ||
70 | +#ifndef STANDARD_STARTFILE_PREFIX_1 | ||
71 | +#define STANDARD_STARTFILE_PREFIX_1 "/lib/" | ||
72 | +#endif | ||
73 | +#ifndef STANDARD_STARTFILE_PREFIX_2 | ||
74 | +#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/" | ||
75 | +#endif | ||
76 | + | ||
77 | #endif /* ! GCC_DEFAULTS_H */ | ||
78 | diff --git a/gcc/gcc.c b/gcc/gcc.c | ||
79 | index 570cdc00034..3fb64d453f1 100644 | ||
80 | --- a/gcc/gcc.c | ||
81 | +++ b/gcc/gcc.c | ||
82 | @@ -1464,13 +1464,6 @@ static const char *gcc_libexec_prefix; | ||
83 | |||
84 | /* Default prefixes to attach to command names. */ | ||
85 | |||
86 | -#ifndef STANDARD_STARTFILE_PREFIX_1 | ||
87 | -#define STANDARD_STARTFILE_PREFIX_1 "/lib/" | ||
88 | -#endif | ||
89 | -#ifndef STANDARD_STARTFILE_PREFIX_2 | ||
90 | -#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/" | ||
91 | -#endif | ||
92 | - | ||
93 | #ifdef CROSS_DIRECTORY_STRUCTURE /* Don't use these prefixes for a cross compiler. */ | ||
94 | #undef MD_EXEC_PREFIX | ||
95 | #undef MD_STARTFILE_PREFIX | ||
96 | -- | 60 | -- |
97 | 2.17.0 | 61 | 2.17.0 |
98 | 62 | ||