aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-09-29 18:59:24 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-09-29 18:59:24 +0000
commit46cf3b569a7e680e21e42b01099227b4737c41c1 (patch)
tree00307b1fec7839db05a88949170d9a51fdd73a60
parent27ba44fa29fa80d921a05f44a396dcb6be81eb6e (diff)
downloadports-46cf3b569a7e680e21e42b01099227b4737c41c1.tar.gz
ports-46cf3b569a7e680e21e42b01099227b4737c41c1.zip
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
Notes
Notes: svn path=/branches/2018Q3/; revision=480913
-rw-r--r--www/firefox/Makefile.options9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/firefox/Makefile.options b/www/firefox/Makefile.options
index 3dfef61f35d2..501ca26989d4 100644
--- a/www/firefox/Makefile.options
+++ b/www/firefox/Makefile.options
@@ -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