mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
lang/libobjc2: fix build on powerpc* and riscv64*
Skip building tests on architectures that don't have assembly.
This commit is contained in:
parent
804b4d8696
commit
933b3657a1
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,6 @@ COMMENT= Replacement Objective-C runtime supporting modern Objective-C features
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
|
|
||||||
BROKEN_sparc64= Does not compile on sparc64: Cannot configure clang properly
|
BROKEN_sparc64= Does not compile on sparc64: Cannot configure clang properly
|
||||||
BROKEN_riscv64= Does not link on riscv64: undefined symbol: objc_msgSend
|
|
||||||
|
|
||||||
USES= cmake compiler objc:compiler
|
USES= cmake compiler objc:compiler
|
||||||
|
|
||||||
|
@ -38,6 +37,10 @@ SHLIB_MINOR= 6
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*}
|
||||||
|
CMAKE_ARGS+= -DTESTS:BOOL=OFF
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||||
CXXFLAGS+= -stdlib=libstdc++
|
CXXFLAGS+= -stdlib=libstdc++
|
||||||
.endif
|
.endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue