Skip to contentSkip to conversation

snort: Strip out DEBUG_PREFIX_MAP options and --sysroot

PATCH New Khem Raj 1 participant 1 message Feb 16, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 snort: Strip out DEBUG_PREFIX_MAP options and --sysroot

---
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(-)
meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb +1 -1
index a99138d3d4..c2eb95fe73 100644
@@ -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} += " \
Signature · 1 line
2.20.1