MFH: r553595
gecko: unbreak with non-default CC/CXX checking for clang for bindgen... not found checking for libclang for bindgen... not found ERROR: Could not find clang to generate run bindings for C/C++. Please install the necessary packages, run `mach bootstrap`, or use --with-clang-path to give the location of clang. checking for llvm-objdump... not found DEBUG: llvm_objdump: Trying llvm-objdump ERROR: Cannot find llvm-objdump Reported by: pkg-fallout (powerpc64) Approved by: ports-secteam blanket
This commit is contained in:
parent
7accce43e2
commit
1bd27aba80
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=553596
@ -82,13 +82,16 @@ BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \
|
||||
node:www/node
|
||||
LIB_DEPENDS+= libdrm.so:graphics/libdrm
|
||||
MOZ_EXPORT+= ${CONFIGURE_ENV} \
|
||||
LLVM_CONFIG=llvm-config${LLVM_DEFAULT} \
|
||||
PERL="${PERL}" \
|
||||
PYTHON3="${PYTHON_CMD}" \
|
||||
RUSTFLAGS="${RUSTFLAGS}"
|
||||
MOZ_OPTIONS+= --prefix="${PREFIX}"
|
||||
MOZ_MK_OPTIONS+=MOZ_OBJDIR="${BUILD_WRKSRC}"
|
||||
|
||||
MOZ_OPTIONS+= --with-libclang-path="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib"
|
||||
.if !exists(/usr/bin/llvm-objdump) # WITHOUT_CLANG_EXTRAS
|
||||
MOZ_EXPORT+= LLVM_OBJDUMP="${LOCALBASE}/bin/llvm-objdump${LLVM_DEFAULT}"
|
||||
.endif
|
||||
# Require newer Clang than what's in base system unless user opted out
|
||||
. if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
|
||||
|
Loading…
Reference in New Issue
Block a user