Skip to content

Commit

Permalink
devel/directfb: Fix build with llvm16
Browse files Browse the repository at this point in the history
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 24, 2023
1 parent 09477c6 commit 6a0bccd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devel/directfb/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 6a0bccd

Please sign in to comment.