libgit2: remove obsolete items from common inc
Signed-off-by: Derek Straka <derek@asterius.io>
This commit is contained in:
@@ -16,17 +16,4 @@ EXTRA_OECMAKE = "\
|
|||||||
-DBUILD_EXAMPLES=OFF \
|
-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"
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
Reference in New Issue
Block a user