Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc
standard paths itself. Right now it was fixed, so remove the additional
CXXFLAG for cmake-nativesdk.
Signed-off-by: Kang Kai <kai.kang@windriver.com>
DEPENDS += "curl expat zlib libarchive ncurses"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
SRC_URI += "file://dont-run-cross-binaries.patch"
${@base_contains('DISTRO_FEATURES', 'largefile', '-DKWSYS_LFS_WORKS=1', '-DKWSYS_LFS_DISABLE=1', d)} \
"
-# FIXME: Hack due gcc-crosssdk not being able to detect those automatically
-CXXFLAGS_virtclass-nativesdk += " \
- -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++ \
- -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++/${TARGET_SYS} \
- "
-
FILES_${PN} += "${datadir}/cmake-${CMAKE_MAJOR_VERSION}"
FILES_${PN}-doc += "${docdir}/cmake-${CMAKE_MAJOR_VERSION}"