From 2d87ecf87dab949571037f234788d502b13dd8ab Mon Sep 17 00:00:00 2001 From: ahze Date: Sun, 3 Sep 2006 01:52:30 +0000 Subject: - Don't strip -O* from CFLAGS because -O2 seems to be needed for firefox 2.0 git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7188 df743ca5-7f9a-e211-a948-0013205c9059 --- www/mozilla/Makefile.common | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common index f505f641e..bacc99fdd 100644 --- a/www/mozilla/Makefile.common +++ b/www/mozilla/Makefile.common @@ -4,7 +4,7 @@ # Whom: Michael Johnson # # $FreeBSD$ -# $MCom: ports/www/mozilla/Makefile.common,v 1.22 2006/07/18 15:03:40 ahze Exp $ +# $MCom: ports/www/mozilla/Makefile.common,v 1.23 2006/07/27 17:56:34 marcus Exp $ # This file contains some reusable components for mozilla ports. It's of # use primarily to apps from the mozilla project itself (such as Firefox, @@ -181,10 +181,10 @@ MOZ_MK_OPTIONS+= XP_UNIX=1 \ # PERL=$$PERL5 .if defined(WITH_OPTIMIZED_CFLAGS) -CFLAGS:= -O2 -fno-strict-aliasing ${CFLAGS:N-O*} +CFLAGS:= ${CFLAGS} -O2 -fno-strict-aliasing ${EXTRA_CFLAGS} WITH_OPTIMIZE?= -O2 .else -CFLAGS:= ${CFLAGS:N-O*:N-m*} -O +CFLAGS:= ${CFLAGS} -O ${EXTRA_CFLAGS} WITH_OPTIMIZE?= -O .endif -- cgit v1.2.3