libgit2: remove obsolete items from common inc

Signed-off-by: Derek Straka <derek@asterius.io>
This commit is contained in:
Derek Straka
2016-08-02 10:49:55 -04:00
parent 0992dbb4bc
commit b139bbc514

View File

@@ -16,17 +16,4 @@ EXTRA_OECMAKE = "\
-DBUILD_EXAMPLES=OFF \
"
CFLAGS_append .= " -fPIC"
# Prior to poky commit 60d504b431fa7cdc6ded141def7ae18edb1834e5,
# the cmake class did not define CMAKE_AR in the generated toolchain
# file. This is needed to support building a static library.
# See https://github.com/jmesmon/meta-rust/issues/1
OECMAKE_AR ?= "${AR}"
cmake_do_generate_toolchain_file_append() {
cat >> ${WORKDIR}/toolchain.cmake <<EOF
set( CMAKE_AR ${OECMAKE_AR} CACHE FILEPATH "Archiver" )
EOF
}
BBCLASSEXTEND = "native"