Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/bsd.gecko.mk
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | MOZ_EXPORT+= ${CONFIGURE_ENV} \ | ||||
PERL="${PERL}" \ | PERL="${PERL}" \ | ||||
PYTHON3="${LOCALBASE}/bin/python${PYTHON3_DEFAULT}" \ | PYTHON3="${LOCALBASE}/bin/python${PYTHON3_DEFAULT}" \ | ||||
RUSTFLAGS="${RUSTFLAGS}" | RUSTFLAGS="${RUSTFLAGS}" | ||||
MOZ_OPTIONS+= --prefix="${PREFIX}" | MOZ_OPTIONS+= --prefix="${PREFIX}" | ||||
MOZ_MK_OPTIONS+=MOZ_OBJDIR="${BUILD_WRKSRC}" | MOZ_MK_OPTIONS+=MOZ_OBJDIR="${BUILD_WRKSRC}" | ||||
# Require newer Clang than what's in base system unless user opted out | # Require newer Clang than what's in base system unless user opted out | ||||
. if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so) | . if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so) | ||||
.if ${LLVM_DEFAULT:S,-devel,990,} >= 90 && ${ARCH} == i386 | |||||
LLVM_DEFAULT= 80 | |||||
.endif | |||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} | BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} | ||||
CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} | CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} | ||||
CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} | CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} | ||||
CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} | CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} | ||||
USES:= ${USES:Ncompiler\:*} # XXX avoid warnings | USES:= ${USES:Ncompiler\:*} # XXX avoid warnings | ||||
. endif | . endif | ||||
MOZSRC?= ${WRKSRC} | MOZSRC?= ${WRKSRC} | ||||
▲ Show 20 Lines • Show All 295 Lines • Show Last 20 Lines |