aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt6/qt6-ptest.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt6/qt6-ptest.inc')
-rw-r--r--recipes-qt/qt6/qt6-ptest.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-qt/qt6/qt6-ptest.inc b/recipes-qt/qt6/qt6-ptest.inc
index 0395472..d66c427 100644
--- a/recipes-qt/qt6/qt6-ptest.inc
+++ b/recipes-qt/qt6/qt6-ptest.inc
@@ -6,6 +6,10 @@ inherit ptest
QT_PTEST_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
PTEST_ENABLED = "${QT_PTEST_ENABLED}"
+DEBUG_PREFIX_MAP += "\
+ -fmacro-prefix-map=${D}= \
+"
+
fakeroot do_install_ptest() {
cat >${WORKDIR}/toolchain-ptest.cmake <<EOF
include(${WORKDIR}/toolchain.cmake)