]> code.ossystems Code Review - openembedded-core.git/commit
gcc: fix possible problems with nscd compilation during eglibc-nativesdk build
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fri, 23 Sep 2011 19:46:38 +0000 (23:46 +0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:27:02 +0000 (16:27 +0000)
commitb4a686061f27f663321674fb42aa93dbd20c5b3a
tree8c0b1effa995d008819ee1c1960dfabe5a377362
parente68d1d5117be9631db644b70308e7360a9d76a3a
gcc: fix possible problems with nscd compilation during eglibc-nativesdk build

Long time ago a066e7ca90a28d5681c5fa895a29e999ed7c88b was committed to
address possible problems with compilation of nscd during
eglibc-nativesdk build. Problems were related to the way gcc searches
for headers to check if it should enable it's own stack smash protection
bits or it can relay on eglibc for it.

However after 934d38530c9a67562e53d4034aee5531f0f26750 things got
broken, as for gcc-crosssdk-intermediate packages:
1) EXTRA_OECONF is ignored
2) headers are installed in a different location than expected by that
patch.

This results in eglibc-nativesdk build broken on some systems (e.g. mine
Debian x86_64 squeeze). Fix that by providing with-headers options to
crosssdk-intermediate gcc configuration.

(From OE-Core rev: 63494d638b7a9b88a5b7d7a02d2afcb3aa0fa064)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.5.1.inc
meta/recipes-devtools/gcc/gcc-4.6.inc
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc