aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2012-06-20 02:23:11 +0800
committerbeat <beat@FreeBSD.org>2012-06-20 02:23:11 +0800
commit0b75d0c2bf4de7590b0562860b244733b898cefe (patch)
tree4eb4526d4601e26c22aa537ebc7bd71945a1682a /www/firefox
parent98ee74626e925358735d51f503540aae9f6feca9 (diff)
downloadfreebsd-ports-gnome-0b75d0c2bf4de7590b0562860b244733b898cefe.tar.gz
freebsd-ports-gnome-0b75d0c2bf4de7590b0562860b244733b898cefe.tar.zst
freebsd-ports-gnome-0b75d0c2bf4de7590b0562860b244733b898cefe.zip
- Fix build with base gcc by lowering the optimization level
- Don't bump PORTREVISION even this change affects the resulting package to not force users who already updated to 13.0.1 to rebuild Firefox. Submitted by: mezz
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 2c136cb64ecf..ffb06e6d5445 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -36,7 +36,7 @@ MAKE_JOBS_SAFE= yes
WANT_GNOME= yes
ALL_TARGET= default
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
-EXTRA_CFLAGS= -O2
+EXTRA_CFLAGS= -O0
HAS_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
@@ -58,10 +58,6 @@ OPTIONS= DBUS "Enable D-BUS support" on \
.include <bsd.port.pre.mk>
-.if empty(CXX:M*clang++*) && ${OSVERSION} > 900000
-USE_GCC= 4.6+
-.endif
-
WRKSRC:= ${WRKDIR}/mozilla-release
.if ${HAVE_GNOME:Mlibgnomeui}!=""