Files
meta-openembedded/meta-oe/recipes-devtools/gcc/gcc-cross_4.5.bb
Koen Kooi ba454ab180 gcc: Various fixups to ensure consistent gcc builds
(ported from oe-core for consistency)

We ensure that:
* the shared work directory contains PR and ensure PR values are consistent across gcc builds
* the regexp to handle library directories is in a specific task and run once

This avoids breakage that was seen in incremental builds after commit
be1f70d68b6b75772ebab8bdff683ddd7c42b0cd in oe-core where the interpretor could
become corrupted. This was due to the sed expression corrupting
the source directory.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-10 13:15:13 +02:00

10 lines
324 B
BlitzBasic

require recipes-devtools/gcc/gcc-${PV}.inc
require recipes-devtools/gcc/gcc-cross4.inc
EXTRA_OECONF += "--disable-libunwind-exceptions \
--with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
--with-system-zlib "
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"