diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index d0149801db..c4b6ac1111 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -62,21 +62,6 @@ SYSTEMHEADERS = "${target_includedir}" | |||
62 | SYSTEMLIBS = "${target_base_libdir}/" | 62 | SYSTEMLIBS = "${target_base_libdir}/" |
63 | SYSTEMLIBS1 = "${target_libdir}/" | 63 | SYSTEMLIBS1 = "${target_libdir}/" |
64 | 64 | ||
65 | do_headerfix () { | ||
66 | # Change the default dynamic linker path, in case $base_liddir is non-standard | ||
67 | # (e.g. in multilib or sdk cases) | ||
68 | # | ||
69 | # We want something like the following: | ||
70 | # #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" | ||
71 | # becomes | ||
72 | # #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "ld-linux-x86-64.so.2" | ||
73 | # | ||
74 | sed -i ${S}/gcc/config/*/linux*.h -e \ | ||
75 | 's#\(GLIBC_DYNAMIC_LINKER[^ ]*\) \( *"/lib.*\)/\(.*\)#\1 SYSTEMLIBS_DIR "\3#' | ||
76 | } | ||
77 | |||
78 | addtask headerfix after do_unpack before do_patch | ||
79 | |||
80 | do_configure_prepend () { | 65 | do_configure_prepend () { |
81 | # teach gcc to find correct target includedir when checking libc ssp support | 66 | # teach gcc to find correct target includedir when checking libc ssp support |
82 | mkdir -p ${B}/gcc | 67 | mkdir -p ${B}/gcc |