devel/directfb: Use GNU as to assemble files on armv6/armv7
Clang's integrated assembler can't handle the old split syntax used in this project's assembly files. Assembly with GNU as instead. PR: 265566
This commit is contained in:
parent
06abef6a63
commit
15ea9b69ec
|
@ -22,7 +22,7 @@ OPTIONS_SUB= yes
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= cpe gmake jpeg libtool ncurses pathfix perl5 pkgconfig
|
||||
USES= compiler cpe gmake jpeg libtool ncurses pathfix perl5 pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
USE_PERL5= build
|
||||
PORTDOCS= *
|
||||
|
@ -57,6 +57,14 @@ SDL_CONFIGURE_ENABLE= sdl
|
|||
UNIQUE_CONFIGURE_ENABLE= unique
|
||||
TEST_CONFIGURE_WITH= tests
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# assembly files use old split syntax which clang doesn't like
|
||||
.if ${ARCH:Marmv?} && ${COMPILER_TYPE} == "clang"
|
||||
BUILD_DEPENDS+= as:devel/binutils
|
||||
CFLAGS+= -fno-integrated-as
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/need_libc_r=yes/d ; \
|
||||
|
@ -74,4 +82,4 @@ post-install-DOCS-on:
|
|||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/html
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in New Issue
Block a user