@@ -10,7 +10,7 @@ RECIPE_TYPES = "machine native cross sdk-cross"
require conf/fetch/gnu.conf
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz"
-inherit autotools
+inherit autotools c++
C_DEPENDS = "target-cross:cc"
@@ -29,14 +29,20 @@ HOST_EXEEXT:cross = "${TARGET_EXEEXT}"
HOST_PREFIX:cross = "${TARGET_PREFIX}"
HOST_CPPFLAGS:cross = "${TARGET_CPPFLAGS}"
HOST_CFLAGS:cross = "${TARGET_CFLAGS}"
+HOST_CXXFLAGS:cross = "${TARGET_CXXFLAGS}"
HOST_LDFLAGS:cross = "${TARGET_LDFLAGS}"
+HOST_CC_PROG:cross = "${TARGET_CC_PROG}"
+HOST_CXX_PROG:cross = "${TARGET_CXX_PROG}"
HOST_ARCH:sdk-cross = "${TARGET_ARCH}"
HOST_FPU:sdk-cross = "${TARGET_FPU}"
HOST_EXEEXT:sdk-cross = "${TARGET_EXEEXT}"
HOST_PREFIX:sdk-cross = "${TARGET_PREFIX}"
HOST_CPPFLAGS:sdk-cross = "${TARGET_CPPFLAGS}"
HOST_CFLAGS:sdk-cross = "${TARGET_CFLAGS}"
+HOST_CXXFLAGS:sdk-cross = "${TARGET_CXXFLAGS}"
HOST_LDFLAGS:sdk-cross = "${TARGET_LDFLAGS}"
+HOST_CC_PROG:sdk-cross = "${TARGET_CC_PROG}"
+HOST_CXX_PROG:sdk-cross = "${TARGET_CXX_PROG}"
do_install[postfuncs] += "do_install_symlinks"
do_install_symlinks () {