summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/cmake
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2011-08-25 10:55:40 +0800
committerSaul Wold <sgw@linux.intel.com>2011-08-26 12:31:59 -0700
commitbac15cc98e136892d4c09f2470622965bd9dbbeb (patch)
tree11796d447f942b4a74ed199b7912af52d581fbf2 /meta/recipes-devtools/cmake
parentbe86cbf54f3aeeda1105acd153fe09348a7ac267 (diff)
downloadopenembedded-core-bac15cc98e136892d4c09f2470622965bd9dbbeb.tar.gz
openembedded-core-bac15cc98e136892d4c09f2470622965bd9dbbeb.tar.bz2
openembedded-core-bac15cc98e136892d4c09f2470622965bd9dbbeb.tar.xz
openembedded-core-bac15cc98e136892d4c09f2470622965bd9dbbeb.zip
cmake-nativesdk: remove gcc standard paths
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>
Diffstat (limited to 'meta/recipes-devtools/cmake')
-rw-r--r--meta/recipes-devtools/cmake/cmake_2.8.5.bb8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/recipes-devtools/cmake/cmake_2.8.5.bb b/meta/recipes-devtools/cmake/cmake_2.8.5.bb
index 64e757467..4fa9562a4 100644
--- a/meta/recipes-devtools/cmake/cmake_2.8.5.bb
+++ b/meta/recipes-devtools/cmake/cmake_2.8.5.bb
@@ -4,7 +4,7 @@ inherit cmake
DEPENDS += "curl expat zlib libarchive ncurses"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
SRC_URI += "file://dont-run-cross-binaries.patch"
@@ -33,12 +33,6 @@ EXTRA_OECMAKE=" \
${@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}"