diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-09 03:26:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-09 03:26:39 +0000 |
commit | cff0b2385c10c19340342b5b05f06f6b2e691a62 (patch) | |
tree | 3a41265a10e67317ecbf8a2ac456dcab116e14f5 /www/mozilla/Makefile.common | |
parent | e49ae0aae8097e6da593673f54b4b08a0b8d39b9 (diff) | |
download | pkgsrc-cff0b2385c10c19340342b5b05f06f6b2e691a62.tar.gz |
CC_VERSION is "gcc-2.8.1" for egcs. Also fix up a few nits: not all
compilers understand "-O" to optimize, and if we only care about gcc, then
wrap the block in an ifdef that is triggered only if we're using gcc.
Diffstat (limited to 'www/mozilla/Makefile.common')
-rw-r--r-- | www/mozilla/Makefile.common | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common index cf597dc1822..e7d08ad3fc9 100644 --- a/www/mozilla/Makefile.common +++ b/www/mozilla/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.31 2004/02/05 17:29:06 jmmv Exp $ +# $NetBSD: Makefile.common,v 1.32 2004/02/09 03:26:39 jlam Exp $ MOZ_DIST_VER?= ${MOZ_VER} DISTNAME?= mozilla-source-${MOZ_DIST_VER} @@ -124,8 +124,6 @@ PTHREAD_OPTS+= native optional .if !empty(CC_VERSION:Mgcc*) COPTS?= -O2 -.else -COPTS?= -O .endif CONFIGURE_ARGS+= --enable-optimize=${COPTS:Q} |