aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-cross_4.5.bb
blob: 87fe1941370a43eeec597c15913fbf4fa2560663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require gcc-${PV}.inc
require gcc-cross4.inc

PR = "${INC_PR}.0"

NATIVEDEPS += "libmpc-native libelf-native"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch "

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

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