Skip to content

Commit

Permalink
emulators/mame: fix build on powerpc* CURRENT
Browse files Browse the repository at this point in the history
Use newer LLVM:
Assertion failed: (ESI.Type != EST_Uninstantiated), function SubstExceptionSpec, file /usr/local/poudriere/jails/main-powerpc/usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp, line 2240.
  • Loading branch information
pkubaj committed Jun 8, 2023
1 parent 0ee68aa commit bce5435
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions emulators/mame/Makefile
Expand Up @@ -104,7 +104,11 @@ WITH_DEBUG= yes
.endif

.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1400000
.if ${ARCH:Mpowerpc*}
USES+= llvm:min=16,build
.else
USES+= llvm:15,build
.endif
MAKE_ENV+= OVERRIDE_AR="llvm-ar${LLVM_VERSION}" \
OVERRIDE_CC="clang${LLVM_VERSION}" \
OVERRIDE_CXX="clang++${LLVM_VERSION}" \
Expand Down

0 comments on commit bce5435

Please sign in to comment.