diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-11 08:50:02 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-16 14:59:18 +0000 |
commit | d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57 (patch) | |
tree | ecd46c579d347fa45d22cc0fc6aaa2904d41b6a8 /meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch | |
parent | 2cb1aee04840e9ed7dc4a4952e8d883eda1feb90 (diff) | |
download | poky-d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57.tar.gz |
gcc: Drop 4.8
We have 5.2 and 4.9, we don't really need 4.8 now and it can be moved
out to other layers if anyone still wants/needs it.
(From OE-Core rev: 6f98c39418c60b7c0b25b30983d2e5257158a6a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch b/meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch deleted file mode 100644 index 7c8290f715..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | When cross compiling a target gcc, target flags may be used on the host | ||
2 | |||
3 | Configure identifies a number of warning flags (WARN_CFLAGS and | ||
4 | WARN_CXXFLAGS) from the $CC value. The cross compiler may be different | ||
5 | from the host compiler and may not support the same set of flags. This | ||
6 | leads to problems such as: | ||
7 | |||
8 | cc1plus: error: unrecognized command line option "-Wno-narrowing" | ||
9 | cc1plus: error: unrecognized command line option "-Wno-overlength-strings" | ||
10 | |||
11 | Work around this problem by removing the warning flags from the | ||
12 | BUILD_CXXFLAGS value, in a way similar to the BUILD_CFLAGS. | ||
13 | |||
14 | Upstream-Status: Pending | ||
15 | |||
16 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
17 | |||
18 | Index: gcc-4.8.4/gcc/configure | ||
19 | =================================================================== | ||
20 | --- gcc-4.8.4.orig/gcc/configure | ||
21 | +++ gcc-4.8.4/gcc/configure | ||
22 | @@ -17864,7 +17864,7 @@ else | ||
23 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | ||
24 | lt_status=$lt_dlunknown | ||
25 | cat > conftest.$ac_ext <<_LT_EOF | ||
26 | -#line 17853 "configure" | ||
27 | +#line 17867 "configure" | ||
28 | #include "confdefs.h" | ||
29 | |||
30 | #if HAVE_DLFCN_H | ||
31 | @@ -17970,7 +17970,7 @@ else | ||
32 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | ||
33 | lt_status=$lt_dlunknown | ||
34 | cat > conftest.$ac_ext <<_LT_EOF | ||
35 | -#line 17959 "configure" | ||
36 | +#line 17973 "configure" | ||
37 | #include "confdefs.h" | ||
38 | |||
39 | #if HAVE_DLFCN_H | ||
40 | @@ -26918,18 +26918,15 @@ $as_echo "#define TARGET_LIBC_PROVIDES_S | ||
41 | fi | ||
42 | |||
43 | # Test for <sys/sdt.h> on the target. | ||
44 | - | ||
45 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5 | ||
46 | -$as_echo_n "checking sys/sdt.h in the target C library... " >&6; } | ||
47 | -have_sys_sdt_h=no | ||
48 | +#GCC_TARGET_TEMPLATE([HAVE_SYS_SDT_H]) | ||
49 | +#AC_MSG_CHECKING(sys/sdt.h in the target C library) | ||
50 | +#have_sys_sdt_h=no | ||
51 | #if test -f $target_header_dir/sys/sdt.h; then | ||
52 | # have_sys_sdt_h=yes | ||
53 | -# | ||
54 | -#$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h | ||
55 | -# | ||
56 | +# AC_DEFINE(HAVE_SYS_SDT_H, 1, | ||
57 | +# [Define if your target C library provides sys/sdt.h]) | ||
58 | #fi | ||
59 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5 | ||
60 | -$as_echo "$have_sys_sdt_h" >&6; } | ||
61 | +#AC_MSG_RESULT($have_sys_sdt_h) | ||
62 | |||
63 | # Check if TFmode long double should be used by default or not. | ||
64 | # Some glibc targets used DFmode long double, but with glibc 2.4 | ||