Date: Fri, 28 Feb 2014 21:44:46 GMT From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r1527 - in trunk/www: firefox firefox-nightly seamonkey Message-ID: <201402282144.s1SLikjD091123@trillian.chruetertee.ch>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Feb 28 21:44:46 2014 New Revision: 1527 Log: add clang 3.2/3.3 workaround for 9.2R i386 to avoid pulling in lang/gcc Modified: trunk/www/firefox-nightly/Makefile trunk/www/firefox/Makefile trunk/www/seamonkey/Makefile Modified: trunk/www/firefox-nightly/Makefile ============================================================================== --- trunk/www/firefox-nightly/Makefile Fri Feb 28 21:44:38 2014 (r1526) +++ trunk/www/firefox-nightly/Makefile Fri Feb 28 21:44:46 2014 (r1527) @@ -69,6 +69,14 @@ WRKSRC:= ${WRKDIR}/${MASTER_SITES:M*hg*:S,/archive/,,:T}-${HGREV:C/.*://} +# avoid clang 3.2/3.3 crash in js/src/jsgc.cpp on refillFreeList<(js::AllowGC)1> +# http://svnweb.freebsd.org/changeset/base/255804 +.if ${CHOSEN_COMPILER_TYPE} == clang && ${ARCH} == i386 && ${OSVERSION} < 1000056 +. if ${CXXFLAGS:M-O*} && ! ${CXXFLAGS:M-O[01]} +CXXFLAGS+= -O1 +. endif +.endif + .if ${PORT_OPTIONS:MALSA} BUILD_DEPENDS+= alsa-lib>=1.0.27.2_1:${PORTSDIR}/audio/alsa-lib .endif Modified: trunk/www/firefox/Makefile ============================================================================== --- trunk/www/firefox/Makefile Fri Feb 28 21:44:38 2014 (r1526) +++ trunk/www/firefox/Makefile Fri Feb 28 21:44:46 2014 (r1527) @@ -57,8 +57,12 @@ WRKSRC:= ${WRKDIR}/mozilla-beta -.if ${ARCH} == i386 && ${OSVERSION} < 1000000 -USE_GCC?= yes +# avoid clang 3.2/3.3 crash in js/src/jsgc.cpp on refillFreeList<(js::AllowGC)1> +# http://svnweb.freebsd.org/changeset/base/255804 +.if ${CHOSEN_COMPILER_TYPE} == clang && ${ARCH} == i386 && ${OSVERSION} < 1000056 +. if ${CXXFLAGS:M-O*} && ! ${CXXFLAGS:M-O[01]} +CXXFLAGS+= -O1 +. endif .endif .if ${PORT_OPTIONS:MALSA} Modified: trunk/www/seamonkey/Makefile ============================================================================== --- trunk/www/seamonkey/Makefile Fri Feb 28 21:44:38 2014 (r1526) +++ trunk/www/seamonkey/Makefile Fri Feb 28 21:44:46 2014 (r1527) @@ -82,6 +82,14 @@ XPI_LIBDIR= ${PREFIX}/lib/xpi +# avoid clang 3.2/3.3 crash in js/src/jsgc.cpp on refillFreeList<(js::AllowGC)1> +# http://svnweb.freebsd.org/changeset/base/255804 +.if ${CHOSEN_COMPILER_TYPE} == clang && ${ARCH} == i386 && ${OSVERSION} < 1000056 +. if ${CXXFLAGS:M-O*} && ! ${CXXFLAGS:M-O[01]} +CXXFLAGS+= -O1 +. endif +.endif + .if ${PORT_OPTIONS:MALSA} BUILD_DEPENDS+= alsa-lib>=1.0.27.2_1:${PORTSDIR}/audio/alsa-lib .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402282144.s1SLikjD091123>