From a9bd6c700a81ddad69d2e61b75db392088b6902f Mon Sep 17 00:00:00 2001
From: Scott Murray <scott.murray@konsulko.com>
Date: Wed, 22 Jan 2020 17:02:59 -0500
Subject: [PATCH] meta-agl-profile-core: update rtl-sdr recipe for zeus

Update pkg-config CFLAGS tweaking in rtl-sdr to avoid failing updated
QA check in zeus.

Bug-AGL: SPEC-2932

Change-Id: I4a60c16050736f0c92f91f3804342fdaacf713ee
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
---
 meta-agl-profile-core/recipes-connectivity/rtl-sdr/rtl-sdr_0.5.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-agl-profile-core/recipes-connectivity/rtl-sdr/rtl-sdr_0.5.3.bb b/meta-agl-profile-core/recipes-connectivity/rtl-sdr/rtl-sdr_0.5.3.bb
index de6da5e84..b442d9f46 100644
--- a/meta-agl-profile-core/recipes-connectivity/rtl-sdr/rtl-sdr_0.5.3.bb
+++ b/meta-agl-profile-core/recipes-connectivity/rtl-sdr/rtl-sdr_0.5.3.bb
@@ -22,7 +22,7 @@ do_configure_append() {
     # remove included temporary path from pc file due to pass-through of OE CFLAGS
     # debug-prefix-map
     # See: http://lists.openembedded.org/pipermail/openembedded-devel/2016-May/107456.html
-    sed -i -e "s# -fdebug-prefix-map=.*##g" librtlsdr.pc
+    sed -i -e "s# -fdebug-prefix-map=.*##g;s# -fmacro-prefix-map=.*##g" librtlsdr.pc
 }
 
 do_install_append() {
-- 
2.16.6