From: Changqing Li <[email protected]>

fix below error:
file /usr/bin/g++ conflicts between attempted installs of 
lib32-g++-symlinks-10.1.0-r0.core2_32 and g++-symlinks-10.1.0-r0.core2_64
file /usr/bin/gcc conflicts between attempted installs of 
lib32-gcc-symlinks-10.1.0-r0.core2_32 and gcc-symlinks-10.1.0-r0.core2_64
file /usr/bin/cpp conflicts between attempted installs of 
lib32-cpp-symlinks-10.1.0-r0.core2_32 and cpp-symlinks-10.1.0-r0.core2_64

Signed-off-by: Changqing Li <[email protected]>
---
 meta/recipes-devtools/gcc/gcc-target.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-target.inc 
b/meta/recipes-devtools/gcc/gcc-target.inc
index 1e25dad86b..03057dc71b 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -28,6 +28,10 @@ export gcc_cv_objdump = "${TARGET_PREFIX}objdump"
 
 EXTRA_OECONF_GCC_FLOAT = "${@get_gcc_float_setting(bb, d)}"
 
+inherit multilib_script
+MULTILIB_SCRIPTS += " ${MLPREFIX}g++-symlinks:${bindir}/g++ 
${MLPREFIX}gcc-symlinks:${bindir}/gcc \
+                      ${MLPREFIX}cpp-symlinks:${bindir}/cpp"
+
 PACKAGES = "\
     ${PN} ${PN}-plugins ${PN}-symlinks \
     g++ g++-symlinks \
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141440): 
https://lists.openembedded.org/g/openembedded-core/message/141440
Mute This Topic: https://lists.openembedded.org/mt/76183413/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to