summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-03 09:52:30 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-03 09:52:30 +0800
commit2d87ecf87dab949571037f234788d502b13dd8ab (patch)
tree3fa8a9347c15f8d08c9b82b26858ba3dfad06ce9
parentffac1c9d4563512745129b6aedd49977c093ab86 (diff)
downloadmarcuscom-ports-2d87ecf87dab949571037f234788d502b13dd8ab.tar
marcuscom-ports-2d87ecf87dab949571037f234788d502b13dd8ab.tar.gz
marcuscom-ports-2d87ecf87dab949571037f234788d502b13dd8ab.tar.bz2
marcuscom-ports-2d87ecf87dab949571037f234788d502b13dd8ab.tar.lz
marcuscom-ports-2d87ecf87dab949571037f234788d502b13dd8ab.tar.xz
marcuscom-ports-2d87ecf87dab949571037f234788d502b13dd8ab.tar.zst
marcuscom-ports-2d87ecf87dab949571037f234788d502b13dd8ab.zip
- 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
-rw-r--r--www/mozilla/Makefile.common6
1 files 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 <ahze@FreeBSD.org>
#
# $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