Skip to contentSkip to conversation

multilib_header.bbclass:Disable multilib_header when fortran is enabled.

PATCH In review [email protected] 1 participant 1 message Mar 15, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 multilib_header.bbclass:Disable multilib_header when fortran is enabled.

From: Lei Maohui <[email protected]>

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

---
 meta/classes-recipe/multilib_header.bbclass | 6 ++++++
 1 file changed, 6 insertions(+)
meta/classes-recipe/multilib_header.bbclass +6 -0
index 33f7e027f0..5c14c0a7b3 100644
@@ -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
Signature · 1 line
2.25.1