Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/conf Modify compiler HACK to be for GCC 4.1 only



details:   https://anonhg.NetBSD.org/src/rev/e9c6dc60c483
branches:  trunk
changeset: 329703:e9c6dc60c483
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jun 04 21:24:54 2014 +0000

description:
Modify compiler HACK to be for GCC 4.1 only

diffstat:

 sys/arch/vax/conf/Makefile.vax |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2438f41e6607 -r e9c6dc60c483 sys/arch/vax/conf/Makefile.vax
--- a/sys/arch/vax/conf/Makefile.vax    Wed Jun 04 20:21:24 2014 +0000
+++ b/sys/arch/vax/conf/Makefile.vax    Wed Jun 04 21:24:54 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.vax,v 1.81 2011/01/21 15:59:10 joerg Exp $
+#      $NetBSD: Makefile.vax,v 1.82 2014/06/04 21:24:54 matt Exp $
 
 # Makefile for NetBSD
 #
@@ -76,7 +76,9 @@
 ##
 
 # XXX recent gcc4 gets ICE on this one
+.if ${HAVE_GCC} == "4"
 COPTS.db_command.c+=   -fno-tree-ter
+.endif
 
 ##
 ## (8) config(8) generated machinery



Home | Main Index | Thread Index | Old Index