aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-02-15 22:04:29 -0800
committerKhem Raj <raj.khem@gmail.com>2019-02-17 12:21:27 -0800
commitb1ccca4bacda568062804c7c90aeb15e704c2eb9 (patch)
treea39ce67896dd6f1b728000337fa102f1def5af81
parentf3a80c3ce1487bdf15495dd02809e9df0eeecbd2 (diff)
downloadmeta-openembedded-contrib-b1ccca4bacda568062804c7c90aeb15e704c2eb9.tar.gz
meta-openembedded-contrib-b1ccca4bacda568062804c7c90aeb15e704c2eb9.tar.bz2
meta-openembedded-contrib-b1ccca4bacda568062804c7c90aeb15e704c2eb9.zip
snort: Strip out DEBUG_PREFIX_MAP options and --sysroot
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb2
1 files changed, 1 insertions, 1 deletions
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} += " \