svn commit: r410973 - head/Mk

Jan Beich jbeich at FreeBSD.org
Sun Mar 13 14:43:00 UTC 2016


Author: jbeich
Date: Sun Mar 13 14:42:59 2016
New Revision: 410973
URL: https://svnweb.freebsd.org/changeset/ports/410973

Log:
  www/firefox: work around Clang 3.4 crash with OPTIMIZED_CFLAGS=off
  
  Pretend we want C++14 to pull more modern version of Clang on 10.x i386.
  
  PR:		207837
  MFH:		2016Q1

Modified:
  head/Mk/bsd.gecko.mk   (contents, props changed)

Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk	Sun Mar 13 14:41:44 2016	(r410972)
+++ head/Mk/bsd.gecko.mk	Sun Mar 13 14:42:59 2016	(r410973)
@@ -304,6 +304,9 @@ CFLAGS+=		-O3
 MOZ_EXPORT+=	MOZ_OPTIMIZE_FLAGS="${CFLAGS:M-O*}"
 MOZ_OPTIONS+=	--enable-optimize
 .else
+. if ${MOZILLA_VER:R:R} >= 45 && ${OSREL:R} == 10 && ${ARCH} == i386
+USES:=			compiler:c++14-lang ${USES:Ncompiler*c++11*} # XXX ports/207837
+. endif
 MOZ_OPTIONS+=	--disable-optimize
 .endif
 


More information about the svn-ports-all mailing list