summaryrefslogtreecommitdiff
path: root/Mk/bsd.gecko.mk
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-04-08 11:51:00 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-04-08 11:51:00 +0000
commit6411d06312df9facd8020ec2f43440c5eb6449b9 (patch)
treeb6cc69abc56a37725ab6a10023921c0b418ac344 /Mk/bsd.gecko.mk
parentwww/firefox: switch to upstream fix for non-x86 (diff)
www/firefox: enable -fstack-protector-strong
aarch64 already used it, so switch x86 as well. Mk/bsd.ssp.mk doesn't appear maintained, anyway.
Notes
Notes: svn path=/head/; revision=498363
Diffstat (limited to 'Mk/bsd.gecko.mk')
-rw-r--r--Mk/bsd.gecko.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 384847dd360a..6bec2b87fdb2 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -119,6 +119,11 @@ BUILD_DEPENDS+= rust-cbindgen>=0.6.8:devel/rust-cbindgen \
MOZ_OPTIONS+= --enable-pie
.endif
+.if ${MOZILLA_VER:R:R} >= 65
+# Let vendor add -fstack-protector-strong on all architectures
+SSP_UNSAFE= yes
+.endif
+
MOZILLA_SUFX?= none
MOZSRC?= ${WRKSRC}
PLISTF?= ${WRKDIR}/plist_files