summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index f4f76bda53..b374c30acb 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -44,6 +44,10 @@ EXTRA_OECONF = "\
44 ${@get_gcc_multiarch_setting(bb, d)} \ 44 ${@get_gcc_multiarch_setting(bb, d)} \
45" 45"
46 46
47# Set this here since GCC configure won't auto-detect and enable
48# initfini-arry when cross compiling.
49EXTRA_OECONF_append = " --enable-initfini-array"
50
47export gcc_cv_collect2_libs = 'none required' 51export gcc_cv_collect2_libs = 'none required'
48# We need to set gcc_cv_collect2_libs else there is cross-compilation badness 52# We need to set gcc_cv_collect2_libs else there is cross-compilation badness
49# in the config.log files (which might not get generated until do_compile 53# in the config.log files (which might not get generated until do_compile