From: Lei Maohui <[email protected]>

It seems that multilib header doesn't work for fortran compiler.

Signed-off-by: Lei Maohui <[email protected]>
---
 meta/classes-recipe/multilib_header.bbclass | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/classes-recipe/multilib_header.bbclass 
b/meta/classes-recipe/multilib_header.bbclass
index 33f7e027f0..5c14c0a7b3 100644
--- a/meta/classes-recipe/multilib_header.bbclass
+++ b/meta/classes-recipe/multilib_header.bbclass
@@ -19,6 +19,12 @@ oe_multilib_header() {
                ;;
        *)
        esac
+       case ${FORTRAN} in
+       *fortran*)
+               return
+               ;;
+       *)
+       esac
         # For MIPS: "n32" is a special case, which needs to be
         # distinct from both 64-bit and 32-bit.
         case ${TARGET_ARCH} in
-- 
2.25.1

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

Reply via email to