Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Don't set HAVE_GCC by default, if MKGCC is disabled.



details:   https://anonhg.NetBSD.org/src/rev/cbb9730517a3
branches:  trunk
changeset: 780890:cbb9730517a3
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Aug 10 16:12:20 2012 +0000

description:
Don't set HAVE_GCC by default, if MKGCC is disabled.

diffstat:

 share/mk/bsd.own.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 1b41cff2f536 -r cbb9730517a3 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Fri Aug 10 16:11:43 2012 +0000
+++ b/share/mk/bsd.own.mk       Fri Aug 10 16:12:20 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.704 2012/08/10 02:53:09 matt Exp $
+#      $NetBSD: bsd.own.mk,v 1.705 2012/08/10 16:12:20 joerg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -49,12 +49,14 @@
 #
 # Platforms still using GCC 4.1
 #
+.if ${MKGCC:Uyes} != "no"
 .if ${MACHINE_CPU}  == "vax"
 HAVE_GCC?=    4
 .else
 # Otherwise, default to GCC4.5
 HAVE_GCC?=    45
 .endif
+.endif
 
 .if \
     ${MACHINE_ARCH} == "i386" || \



Home | Main Index | Thread Index | Old Index