MFH: r480912

gecko: whitelist where DTRACE is enabled by default

Userland probes are only supported on Tier1 architectures. Even though
powerpc* should support dtrace -G may crash on C++ files built by GCC.
DTRACE option is still exposed as long as dtrace(1) binary is present
for easier debugging of libdtrace.

PR:		221641 224271
Approved by:	ports-secteam blanket
This commit is contained in:
Jan Beich 2018-09-29 18:59:24 +00:00
parent 27ba44fa29
commit 46cf3b569a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q3/; revision=480913
1 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,7 @@ OPTIONS_DEFINE+= BUNDLED_CAIRO CANBERRA DBUS DEBUG DTRACE FFMPEG GCONF \
INTEGER_SAMPLES LIBPROXY \
OPTIMIZED_CFLAGS PROFILE TEST
OPTIONS_DEFAULT+= DBUS DTRACE FFMPEG GCONF OPTIMIZED_CFLAGS PROFILE \
OPTIONS_DEFAULT+= DBUS FFMPEG GCONF OPTIMIZED_CFLAGS PROFILE \
${OPTIONS_MULTI_AUDIO:NSNDIO} \
${MACHINE_CPU:Msoftfp:C/.+/INTEGER_SAMPLES/}
@ -19,8 +19,11 @@ JACK_IMPLIES= ALSA
OPTIONS_EXCLUDE+= DTRACE
.endif
# ld(1) fails to link probes: Relocations in generic ELF (EM: 0)
OPTIONS_EXCLUDE_aarch64= DTRACE
# opensolaris/lib/libdtrace/common/dt_link.c:
# <arch> not implemented
# failed to allocate space for probe
OPTIONS_DEFAULT_amd64+= DTRACE
OPTIONS_DEFAULT_i386+= DTRACE
BUNDLED_CAIRO_DESC?= Use bundled fork of cairo-1.9.5
CANBERRA_DESC?= Sound theme alerts