pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/mozilla only use COPTS?=-O2 if we're using gcc, ot...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d1b5af941306
branches: trunk
changeset: 466154:d1b5af941306
user: grant <grant%pkgsrc.org@localhost>
date: Mon Jan 12 11:44:47 2004 +0000
description:
only use COPTS?=-O2 if we're using gcc, otherwise use COPTS?=-O. gives
mozilla packages a chance of building with non-gcc compilers.
diffstat:
www/mozilla/Makefile.common | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 8de5dead17ee -r d1b5af941306 www/mozilla/Makefile.common
--- a/www/mozilla/Makefile.common Mon Jan 12 11:22:12 2004 +0000
+++ b/www/mozilla/Makefile.common Mon Jan 12 11:44:47 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.24 2003/12/20 16:07:42 grant Exp $
+# $NetBSD: Makefile.common,v 1.25 2004/01/12 11:44:47 grant Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-source-${MOZ_DIST_VER}
@@ -103,7 +103,11 @@
PTHREAD_OPTS+= native optional
+.if !empty(CC_VERSION:Mgcc*)
COPTS?= -O2
+.else
+COPTS?= -O
+.endif
CONFIGURE_ARGS+= --enable-optimize=${COPTS:Q}
XPTCFILES+= xptcinvoke_asm_sparc64_netbsd.s xptcstubs_asm_sparc64_netbsd.s
Home |
Main Index |
Thread Index |
Old Index