summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
blob: d60523513f7e79745391bb786f733aa6209a8653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require recipes-devtools/gcc/gcc-${PV}.inc
require gcc-cross4.inc

EXTRA_OECONF += "--disable-libunwind-exceptions \
                 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
                 --with-system-zlib "

EXTRA_OECONF_PATHS = " \
                      --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \
                      --with-sysroot=${STAGING_DIR_TARGET} \
                      --with-build-sysroot=${STAGING_DIR_TARGET}"


ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"