diff options
Diffstat (limited to 'meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r-- | meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross.inc b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross.inc index 0d5a9de1..485531a3 100644 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross.inc +++ b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross.inc @@ -28,7 +28,6 @@ EXTRA_OECONF_append_sh4 = " \ " EXTRA_OECONF += "\ - --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ --with-system-zlib \ " @@ -44,6 +43,12 @@ EXTRA_OECONF_PATHS = "\ ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" + +do_configure_prepend () { + install -d ${RECIPE_SYSROOT}${target_includedir} + touch ${RECIPE_SYSROOT}${target_includedir}/limits.h +} + do_compile () { export CC="${BUILD_CC}" export AR_FOR_TARGET="${TARGET_SYS}-ar" |