diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-15 12:17:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-15 17:10:52 +0000 |
commit | fe43e599327f26b399c1883205e988236a5e51bd (patch) | |
tree | 43834e845762da0d30abd461af78563572707aa2 /meta/recipes-devtools/gcc/gcc-7.3/0010-gcc-poison-dir-extend.patch | |
parent | f7ef271db58f1a40ea61c76a2811162f2d671051 (diff) | |
download | poky-fe43e599327f26b399c1883205e988236a5e51bd.tar.gz |
gcc: Drop 7.3 since 8.2 is working fine for us2.7_M1
We've had gcc 8.2 around for long enough that 7.3 can be removed now.
(From OE-Core rev: 20aea61385e1a53ac245353899277ba20104ed2f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.3/0010-gcc-poison-dir-extend.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.3/0010-gcc-poison-dir-extend.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3/0010-gcc-poison-dir-extend.patch b/meta/recipes-devtools/gcc/gcc-7.3/0010-gcc-poison-dir-extend.patch deleted file mode 100644 index 4e06aa2f6a..0000000000 --- a/meta/recipes-devtools/gcc/gcc-7.3/0010-gcc-poison-dir-extend.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From e74ef84ad609b3b6a5c37d207ffc3c6e70d1f025 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 29 Mar 2013 09:00:34 +0400 | ||
4 | Subject: [PATCH 10/47] gcc-poison-dir-extend | ||
5 | |||
6 | Add /sw/include and /opt/include based on the original | ||
7 | zecke-no-host-includes.patch patch. The original patch checked for | ||
8 | /usr/include, /sw/include and /opt/include and then triggered a failure and | ||
9 | aborted. | ||
10 | |||
11 | Instead, we add the two missing items to the current scan. If the user | ||
12 | wants this to be a failure, they can add "-Werror=poison-system-directories". | ||
13 | |||
14 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
16 | |||
17 | Upstream-Status: Pending | ||
18 | --- | ||
19 | gcc/incpath.c | 4 +++- | ||
20 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/gcc/incpath.c b/gcc/incpath.c | ||
23 | index f90e74dbd73..c583ee5061d 100644 | ||
24 | --- a/gcc/incpath.c | ||
25 | +++ b/gcc/incpath.c | ||
26 | @@ -393,7 +393,9 @@ merge_include_chains (const char *sysroot, cpp_reader *pfile, int verbose) | ||
27 | { | ||
28 | if ((!strncmp (p->name, "/usr/include", 12)) | ||
29 | || (!strncmp (p->name, "/usr/local/include", 18)) | ||
30 | - || (!strncmp (p->name, "/usr/X11R6/include", 18))) | ||
31 | + || (!strncmp (p->name, "/usr/X11R6/include", 18)) | ||
32 | + || (!strncmp (p->name, "/sw/include", 11)) | ||
33 | + || (!strncmp (p->name, "/opt/include", 12))) | ||
34 | warning (OPT_Wpoison_system_directories, | ||
35 | "include location \"%s\" is unsafe for " | ||
36 | "cross-compilation", | ||
37 | -- | ||
38 | 2.12.2 | ||
39 | |||