1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

devel/directfb: Fix build with llvm16

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-06-24 12:55:54 +02:00
parent 09477c69c6
commit 6a0bccd2c0

View File

@ -64,6 +64,10 @@ X11_CONFIGURE_ENABLE= x11
CFLAGS+= -Wno-error=int-conversion
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CPPFLAGS+= -Dregister=
.endif
# assembly files use old split syntax which clang doesn't like
.if ${ARCH:Marmv?} && ${COMPILER_TYPE} == "clang"
BUILD_DEPENDS+= as:devel/binutils