diff options
-rw-r--r-- | recipes-ids/suricata/suricata_7.0.0.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-ids/suricata/suricata_7.0.0.bb b/recipes-ids/suricata/suricata_7.0.0.bb index 6e6c426..910e21e 100644 --- a/recipes-ids/suricata/suricata_7.0.0.bb +++ b/recipes-ids/suricata/suricata_7.0.0.bb | |||
@@ -73,6 +73,18 @@ do_configure:prepend () { | |||
73 | 73 | ||
74 | CFLAGS += "-Wno-error=incompatible-pointer-types" | 74 | CFLAGS += "-Wno-error=incompatible-pointer-types" |
75 | 75 | ||
76 | # Commit 7a2b9acef2 cargo: pass PACKAGECONFIG_CONFARGS to cargo build | ||
77 | # breaks building this recipe. Providing a copy of the original function | ||
78 | # Armin 2025/04/01 | ||
79 | # | ||
80 | oe_cargo_build () { | ||
81 | export RUSTFLAGS="${RUSTFLAGS}" | ||
82 | bbnote "Using rust targets from ${RUST_TARGET_PATH}" | ||
83 | bbnote "cargo = $(which ${CARGO})" | ||
84 | bbnote "${CARGO} build ${CARGO_BUILD_FLAGS}$@" | ||
85 | "${CARGO}" build ${CARGO_BUILD_FLAGS}"$@" | ||
86 | } | ||
87 | |||
76 | do_compile () { | 88 | do_compile () { |
77 | # we do this to bypass the make provided by this pkg | 89 | # we do this to bypass the make provided by this pkg |
78 | # patches Makefile to skip the subdir | 90 | # patches Makefile to skip the subdir |