mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
gecko: switch to clang70
Standardizing on one Clang version makes stability more predictable across supported FreeBSD versions. As a side effect performance may suffer some improvement. This also makes it easier to enable LTO as old LLD versions are more buggy.
This commit is contained in:
parent
4d5d1f463e
commit
c1e54e8dcd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481071
@ -105,6 +105,14 @@ USE_XORG+= xcb
|
||||
LLVM_DEFAULT?= 70
|
||||
BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
|
||||
MOZ_EXPORT+= LLVM_CONFIG=llvm-config${LLVM_DEFAULT}
|
||||
# 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}
|
||||
CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
|
||||
CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}
|
||||
CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
|
||||
USES:= ${USES:Ncompiler\:*} # XXX avoid warnings
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if ${MOZILLA_VER:R:R} >= 61
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= thunderbird
|
||||
DISTVERSION= 60.1.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail news net-im ipv6
|
||||
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
|
||||
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= firefox
|
||||
DISTVERSION= 60.2.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= firefox
|
||||
DISTVERSION= 62.0.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
|
||||
|
@ -19,6 +19,11 @@ JACK_IMPLIES= ALSA
|
||||
OPTIONS_EXCLUDE+= DTRACE
|
||||
.endif
|
||||
|
||||
# dtrace -G crashes with clang++70 (conditional from Mk/bsd.gecko.mk)
|
||||
.if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so)
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
|
||||
.endif
|
||||
|
||||
# opensolaris/lib/libdtrace/common/dt_link.c:
|
||||
# <arch> not implemented
|
||||
# failed to allocate space for probe
|
||||
|
Loading…
Reference in New Issue
Block a user