git: d2db6aff4bbf - 2026Q2 - lang/micropython: enable on armv7, fix on i386

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sat, 13 Jun 2026 20:25:28 UTC
The branch 2026Q2 has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d2db6aff4bbf89c013aae53613b47a47107398dd

commit d2db6aff4bbf89c013aae53613b47a47107398dd
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-06-11 15:18:18 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-06-13 20:24:59 +0000

    lang/micropython: enable on armv7, fix on i386
    
    Builds fine.
    One unit test fails on armv7: basics/int_64_basics.py
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q2
    
    (cherry picked from commit 0f415d2616260b4c90af2a44434a5dbde8900a42)
---
 lang/micropython/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lang/micropython/Makefile b/lang/micropython/Makefile
index fc293185dbfb..1e4c01ac9498 100644
--- a/lang/micropython/Makefile
+++ b/lang/micropython/Makefile
@@ -11,9 +11,6 @@ WWW=		https://www.micropython.org/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_armv6=	fails to assemble: error: invalid operand for instruction
-BROKEN_armv7=	fails to assemble: error: invalid operand for instruction
-
 LIB_DEPENDS=	libffi.so:devel/libffi
 
 USES=		gmake pkgconfig python:,build
@@ -25,6 +22,9 @@ GH_TUPLE=	micropython:axtls:531cab9:axtls \
 MAKE_ARGS+=	CC=${CC} CPP="${CC} -E" V=1
 MAKE_ENV+=	CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS} -Wno-float-conversion" COPT=""
 
+# required for _Float16 support
+CFLAGS_i386=	-msse2
+
 # With aarch64 (QEMU) the float_parse and the float_parse_doubleprec tests
 # fail as they give a different output.
 TEST_TARGET=	test