benchmarks/tinymembench: fix build on armv7

@progbits is spelled %progbits on armv7

Approved by:	portmgr (build fix blanket)
MFH:		2024Q4

(cherry picked from commit 52a640bf36)
This commit is contained in:
Robert Clausecker 2024-12-17 15:40:49 +00:00
parent d9396dda2c
commit 5c30d6fbb0

View file

@ -17,7 +17,14 @@ GH_ACCOUNT= ssvb
PLIST_FILES= bin/tinymembench
.include <bsd.port.pre.mk>
.if ${ARCH:Marmv?}
pre-configure:
${REINPLACE_CMD} -e 's,@progbits,%progbits,' ${WRKSRC}/*.S
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
.include <bsd.port.post.mk>