mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-27 07:27:14 +00:00
suricata: fix build error introduced by upstream commit
7a2b9acef2 cargo: pass PACKAGECONFIG_CONFARGS to cargo build error: unexpected argument '--with-libcap_ng-includes' found | | Usage: cargo build --verbose... --target [<TRIPLE>] --release --manifest-path <PATH> --offline Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -73,6 +73,18 @@ do_configure:prepend () {
|
|||||||
|
|
||||||
CFLAGS += "-Wno-error=incompatible-pointer-types"
|
CFLAGS += "-Wno-error=incompatible-pointer-types"
|
||||||
|
|
||||||
|
# Commit 7a2b9acef2 cargo: pass PACKAGECONFIG_CONFARGS to cargo build
|
||||||
|
# breaks building this recipe. Providing a copy of the original function
|
||||||
|
# Armin 2025/04/01
|
||||||
|
#
|
||||||
|
oe_cargo_build () {
|
||||||
|
export RUSTFLAGS="${RUSTFLAGS}"
|
||||||
|
bbnote "Using rust targets from ${RUST_TARGET_PATH}"
|
||||||
|
bbnote "cargo = $(which ${CARGO})"
|
||||||
|
bbnote "${CARGO} build ${CARGO_BUILD_FLAGS}$@"
|
||||||
|
"${CARGO}" build ${CARGO_BUILD_FLAGS}"$@"
|
||||||
|
}
|
||||||
|
|
||||||
do_compile () {
|
do_compile () {
|
||||||
# we do this to bypass the make provided by this pkg
|
# we do this to bypass the make provided by this pkg
|
||||||
# patches Makefile to skip the subdir
|
# patches Makefile to skip the subdir
|
||||||
|
|||||||
Reference in New Issue
Block a user