[oe] [meta-networking][PATCH V2] snort: Strip out DEBUG_PREFIX_MAP options and --sysroot
Khem Raj
raj.khem at gmail.com
Sat Feb 16 06:16:53 UTC 2019
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
V2: Consider -fmacro-prefix-map independently
meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb
index a99138d3d4..c2eb95fe73 100644
--- a/meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb
+++ b/meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb
@@ -72,7 +72,7 @@ do_install_append() {
mkdir -p ${D}${localstatedir}/log/snort
install -d ${D}/var/log/snort
- sed -i 's/-fdebug-prefix-map[^ ]*//g; s#${STAGING_DIR_TARGET}##g' ${D}${libdir}/pkgconfig/*.pc
+ sed -i -e 's|-fdebug-prefix-map[^ ]*||g; s|-fmacro-prefix-map[^ ]*||g; s|${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc
}
FILES_${PN} += " \
--
2.20.1
More information about the Openembedded-devel
mailing list