diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-14 19:48:00 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-14 19:48:00 +0000 |
commit | 678bf1eca8c75d97f6f2bef0002bc0166ad716ac (patch) | |
tree | 6e1f5593d2843f41f8aa9d54b1fd0c1ffc302ac8 | |
parent | ca8786f01c52a358ef09c773476b58ec60868014 (diff) | |
download | ports-678bf1eca8c75d97f6f2bef0002bc0166ad716ac.tar.gz ports-678bf1eca8c75d97f6f2bef0002bc0166ad716ac.zip |
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
-rw-r--r-- | www/mozilla/Makefile | 4 |
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." |