lang/spidermonkey78: fix build on GCC architectures
GCC architectures need LLVM too for llvm-objdump.
This commit is contained in:
parent
83d703a2a7
commit
71ffba14a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559496
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
|||
# Require newer Clang than what's in base system unless user opted out
|
||||
# or the base system is new enough.
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
CONFIGURE_ENV+= LLVM_CONFIG=llvm-config${LLVM_DEFAULT} \
|
||||
LLVM_OBJDUMP=llvm-objdump${LLVM_DEFAULT}
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/llvm-objdump${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
|
||||
USE_GCC= yes
|
||||
.elif ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so) && \
|
||||
${COMPILER_VERSION} < 80
|
||||
|
|
Loading…
Reference in a new issue