From: Lei Maohui <[email protected]>

| g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you 
mean ‘-fmacro-prefix-map=’?
| g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you 
mean ‘-fmacro-prefix-map=’?
| g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you 
mean ‘-fmacro-prefix-map=’?
| g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you 
mean ‘-fmacro-prefix-map=’?
| g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you 
mean ‘-fmacro-prefix-map=’?

Signed-off-by: Lei Maohui <[email protected]>
---
 recipes-core/openjdk/openjdk-8-common.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-core/openjdk/openjdk-8-common.inc 
b/recipes-core/openjdk/openjdk-8-common.inc
index 16e3816..5cb8fc4 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -26,6 +26,9 @@ SRC_URI = "\
     ${PATCHES_URI} \
 "
 
+export TARGET_CFLAGS
+export TARGET_CXXFLAGS
+
 do_configure:prepend () {
     export TOPDIR=${S}
     sed -i 's#\$TOPDIR#${S}#g' ${S}/common/autoconf/configure.ac
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60322): https://lists.yoctoproject.org/g/yocto/message/60322
Mute This Topic: https://lists.yoctoproject.org/mt/99563088/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to