summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-14 19:48:00 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-14 19:48:00 +0000
commit678bf1eca8c75d97f6f2bef0002bc0166ad716ac (patch)
tree6e1f5593d2843f41f8aa9d54b1fd0c1ffc302ac8 /www
parentMake sure there's no way this port could use mozilla built with GTK+-1 (diff)
Do not enable -O2 optimization by default. Instead, allow the user
to enable it by specifying -DWITH_OPTIMIZED_CFLAGS or definining WITH_OPTIMIZED_CFLAGS in /etc/make.conf. Note, this is the same flag mplayer users. Requested by: sobomax
Notes
Notes: svn path=/head/; revision=78977
Diffstat (limited to 'www')
-rw-r--r--www/mozilla/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 5e2b53870915..7650823984d9 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -155,7 +155,7 @@ ALL_TARGET= default
CONFIGURE_ARGS+= --enable-reorder
.endif
-.if !defined(WITHOUT_OPTIMIZE) && ${ARCH} != "alpha"
+.if defined(WITH_OPTIMIZED_CFLAGS) && ${ARCH} != "alpha"
CFLAGS+= -O2
CONFIGURE_ARGS+= --enable-optimize=-O2
.endif
@@ -180,7 +180,7 @@ pre-everything::
@${ECHO_MSG} " WITHOUT_LDAP=yes Disables LDAP support within the Mailnews module"
@${ECHO_MSG} " WITHOUT_CHATZILLA=yes Disable the Chatzilla IRC module"
@${ECHO_MSG} " WITH_JAVASCRIPT_DEBUGGER=yes Enable the DTD and JavaScript debuggers"
- @${ECHO_MSG} " WITHOUT_OPTIMIZE=yes Disable -O2 optimization"
+ @${ECHO_MSG} " WITH_OPTIMIZED_CFLAGS=yes Enable -O2 optimization"
@${ECHO_MSG} ""
.if defined(WITH_CALENDAR)
@${ECHO_MSG} "Calendar is still beta software."