summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch
diff options
context:
space:
mode:
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.patch63
1 files changed, 43 insertions, 20 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
index c27e009619..7c8290f715 100644
--- 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
@@ -15,27 +15,50 @@ Upstream-Status: Pending
15 15
16Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 16Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
17 17
18Index: gcc-4.8.0/gcc/configure 18Index: gcc-4.8.4/gcc/configure
19=================================================================== 19===================================================================
20--- gcc-4.8.0.orig/gcc/configure 20--- gcc-4.8.4.orig/gcc/configure
21+++ gcc-4.8.0/gcc/configure 21+++ gcc-4.8.4/gcc/configure
22@@ -11720,6 +10581,7 @@ STMP_FIXINC=stmp-fixinc 22@@ -17864,7 +17864,7 @@ else
23 if test x$build != x$host || test "x$coverage_flags" != x 23 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24 then 24 lt_status=$lt_dlunknown
25 BUILD_CFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)' 25 cat > conftest.$ac_ext <<_LT_EOF
26+ BUILD_CXXFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)' 26-#line 17853 "configure"
27 BUILD_LDFLAGS='$(LDFLAGS_FOR_BUILD)' 27+#line 17867 "configure"
28 fi 28 #include "confdefs.h"
29 29
30Index: gcc-4.8.0/gcc/configure.ac 30 #if HAVE_DLFCN_H
31=================================================================== 31@@ -17970,7 +17970,7 @@ else
32--- gcc-4.8.0.orig/gcc/configure.ac 32 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
33+++ gcc-4.8.0/gcc/configure.ac 33 lt_status=$lt_dlunknown
34@@ -1901,6 +1901,7 @@ STMP_FIXINC=stmp-fixinc AC_SUBST(STMP_F 34 cat > conftest.$ac_ext <<_LT_EOF
35 if test x$build != x$host || test "x$coverage_flags" != x 35-#line 17959 "configure"
36 then 36+#line 17973 "configure"
37 BUILD_CFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)' 37 #include "confdefs.h"
38+ BUILD_CXXFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)' 38
39 BUILD_LDFLAGS='$(LDFLAGS_FOR_BUILD)' 39 #if HAVE_DLFCN_H
40@@ -26918,18 +26918,15 @@ $as_echo "#define TARGET_LIBC_PROVIDES_S
40 fi 41 fi
41 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