]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Fix setting of GLIBC_DYNAMIC_LINKER
authorKumar Gala <galak@kernel.crashing.org>
Tue, 2 Aug 2011 22:33:17 +0000 (17:33 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Aug 2011 16:44:59 +0000 (17:44 +0100)
commitb343436d03fa5690b16ee8ef5d4a738c5194b301
tree4a56c223ce1f36d5c0f2335cea66f8088249ead2
parent7a092818f901c5c860e82f573534cd505d9fb959
gcc: Fix setting of GLIBC_DYNAMIC_LINKER

The sed regex in do_configure_prepend was producing the following result:

 #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "/lib64/ld-linux-x86-64.so.2"

instead of removing the leading "/lib" or "/lib64".

Now we have it do:

 #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "ld-linux-x86-64.so.2"

Additionally, with the regex fixed the manipulation of SYSTEMLIBS_DIR
needs to be removed.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.6.inc
meta/recipes-devtools/gcc/gcc-configure-common.inc
meta/recipes-devtools/gcc/gcc_4.5.1.bb
meta/recipes-devtools/gcc/gcc_csl-arm-2008q1.bb