]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Clean up configure_prepend and fix for mingw
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 May 2014 12:32:54 +0000 (13:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jun 2014 13:51:24 +0000 (14:51 +0100)
commitc19bb1db2eb728899e10a28d10567e9e026ee694
treeda5da3ccb7f762d5fdd4859fe80e4084f9bfd41a
parentd865612c7c1aaccb9f4c65224c9e4c888876fe92
gcc: Clean up configure_prepend and fix for mingw

The do_configure_prepend was duplicated in gcc-4.X.inc and
gcc-configure-common.inc leading to confusion when reading the resulting
do_configure task where the file was processed twice.

The only difference was the removal of the include line for gcc 4.8/4.9.

On mingw were were seeing two issues, firstly that the if statements meant
the values we wanted weren't being set, the second that the include
paths were still wrong as there was no header path set.

To fix the first issue, the #ifdef conditionals were removed, we want
to set these things unconditionally. The second issue is addressed by
setting the NATIVE_SYSTEM_HEADER_DIR variable here (it was already
set in t-oe).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.8.inc
meta/recipes-devtools/gcc/gcc-configure-common.inc