Changeset View
Changeset View
Standalone View
Standalone View
graphics/rawtherapee/Makefile
Show All 35 Lines | |||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
# Binutils required for LTO (base ar/nm/ld/ranlib don't work) | # Binutils required for LTO (base ar/nm/ld/ranlib don't work) | ||||
USE_BINUTILS= yes | USE_BINUTILS= yes | ||||
# As of 2019-09-29, this port is known to be miscompiled by clang90 | # As of 2019-09-29, this port is known to be miscompiled by clang90 | ||||
# (SIGSEGV or SIBGUS) and 12.1's base clang. | # (SIGSEGV or SIBGUS) and 12.1's base clang. | ||||
# | # | ||||
# FreeBSD 11.2/12.0's base clang 6.0.1 emits worse code with | # so we shall stick to GCC 9.x for now | ||||
# considerably higher processing times, and on i386 additional calls to | |||||
# __atomic_*(), so we shall stick to GCC 9.x for now | |||||
USE_GCC= 9+ | USE_GCC= 9+ | ||||
_LTO_FLAGS= -flto=${MAKE_JOBS_NUMBER} | _LTO_FLAGS= -flto=${MAKE_JOBS_NUMBER} | ||||
# gcc needs -flto=${MAKE_JOBS_NUMBER} for parallel link (fixed in GCC 10?) | # gcc needs -flto=${MAKE_JOBS_NUMBER} for parallel link (fixed in GCC 10?) | ||||
# and does not understand -flto=thin | # and does not understand -flto=thin | ||||
# | # | ||||
# llvm/clang needs -flto=thin and will automatically parallelize the link | # llvm/clang needs -flto=thin and will automatically parallelize the link | ||||
# | # | ||||
▲ Show 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
# Tier-2 only supported on the latest stable FreeBSD release. | # Tier-2 only supported on the latest stable FreeBSD release. | ||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 | ||||
ONLY_FOR_ARCHS_REASON= i386 malfunctions on 11.x - upgrade to 12.x | ONLY_FOR_ARCHS_REASON= i386 malfunctions on 11.x - upgrade to 12.x | ||||
.endif | .endif | ||||
.if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1300000) | .if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1300000) | ||||
# don't waste everybody's time with Tier-2 and moving targets. | # don't waste everybody's time with Tier-2 and moving targets. | ||||
# might add ARM64 or SPARC64 later on if they are established by the | # might add ARM64 or SPARC64 later on if they are established by the | ||||
# time FreeBSD 12 is out. | # time FreeBSD 13 is out. | ||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 | ||||
ONLY_FOR_ARCHS_REASON=Only amd64 is supported on non-released FreeBSD versions. | ONLY_FOR_ARCHS_REASON=Only amd64 is supported on non-released FreeBSD versions. | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MNATIVE} | .if ${PORT_OPTIONS:MNATIVE} | ||||
CMAKE_ARGS+= -DPROC_TARGET_NUMBER="2" | CMAKE_ARGS+= -DPROC_TARGET_NUMBER="2" | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |