From 5caecb6ae0cecbced997c482468ac97ec5948812 Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 28 Sep 1998 21:18:55 +0000 Subject: [PATCH] Fix for some EGCS warnings. --- sys/arch/alpha/stand/Makefile.bootprogs | 4 ++-- sys/arch/alpha/stand/Makefile.inc | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/arch/alpha/stand/Makefile.bootprogs b/sys/arch/alpha/stand/Makefile.bootprogs index 30e21a3dd599..1b77e2c7a2ff 100644 --- a/sys/arch/alpha/stand/Makefile.bootprogs +++ b/sys/arch/alpha/stand/Makefile.bootprogs @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.bootprogs,v 1.2 1998/03/28 00:54:15 cgd Exp $ +# $NetBSD: Makefile.bootprogs,v 1.3 1998/09/28 21:18:55 thorpej Exp $ S= ${.CURDIR}/../../../.. @@ -26,7 +26,7 @@ AFLAGS += -DASSEMBLER #CPPFLAGS+= -nostdinc -I${.OBJDIR} CPPFLAGS+= -I${.OBJDIR} CPPFLAGS += -D_STANDALONE -I${.CURDIR}/../.. -I${S} -CFLAGS = -Wall -Werror -mno-fp-regs -g +CFLAGS = ${CWARNFLAGS} -mno-fp-regs -g # For descriptions of regions available to bootstrap programs, see # section 3.4.1.2 (pp. III 3-14 - III 3-18) of the second edition of diff --git a/sys/arch/alpha/stand/Makefile.inc b/sys/arch/alpha/stand/Makefile.inc index 6c63622ae600..8671ccc2dd35 100644 --- a/sys/arch/alpha/stand/Makefile.inc +++ b/sys/arch/alpha/stand/Makefile.inc @@ -1,7 +1,9 @@ -# $NetBSD: Makefile.inc,v 1.12 1998/08/27 12:20:51 tv Exp $ +# $NetBSD: Makefile.inc,v 1.13 1998/09/28 21:18:56 thorpej Exp $ BINDIR= /usr/mdec +CWARNFLAGS+= -Wall + HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo .if (${HAVE_GCC28} != "") CWARNFLAGS+= -Wno-main