Source-Changes-HG archive

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

[src/trunk]: src/share/mk move GCC 4.8 users to using gcc.old. should be no ...



details:   https://anonhg.NetBSD.org/src/rev/b7f5c6c6ae83
branches:  trunk
changeset: 810845:b7f5c6c6ae83
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Sep 25 08:24:20 2015 +0000

description:
move GCC 4.8 users to using gcc.old.  should be no functional change.

diffstat:

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

diffs (21 lines):

diff -r dad785b8919d -r b7f5c6c6ae83 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Fri Sep 25 08:22:02 2015 +0000
+++ b/share/mk/bsd.own.mk       Fri Sep 25 08:24:20 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.872 2015/08/17 17:36:06 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.873 2015/09/25 08:24:20 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -78,8 +78,10 @@
 # We import the old gcc as "gcc.old" when upgrading.  EXTERNAL_GCC_SUBDIR is
 # set to the relevant subdirectory in src/external/gpl3 for his HAVE_GCC.
 #
-.if ${HAVE_GCC} == 48
+.if ${HAVE_GCC} == 5
 EXTERNAL_GCC_SUBDIR=   gcc
+.elif ${HAVE_GCC} == 48
+EXTERNAL_GCC_SUBDIR=   gcc.old
 .else
 EXTERNAL_GCC_SUBDIR=   /does/not/exist
 .endif



Home | Main Index | Thread Index | Old Index