summaryrefslogtreecommitdiff
path: root/sys/arch/vax/conf/Makefile.vax
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/conf/Makefile.vax')
-rw-r--r--sys/arch/vax/conf/Makefile.vax14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index e66b1728bff..ba6e9d33de2 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.vax,v 1.13 2000/04/27 05:47:15 bjc Exp $
+# $OpenBSD: Makefile.vax,v 1.14 2001/06/15 22:45:27 miod Exp $
# $NetBSD: Makefile.vax,v 1.49 1999/07/26 05:20:49 cgd Exp $
# Makefile for OpenBSD/vax
@@ -22,8 +22,6 @@
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
-
-
%OBJS
%CFILES
@@ -74,19 +72,11 @@ S!= cd ../../../..; pwd
.endif
VAX= $S/arch/vax
-HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-D_VAX_INLINE_
-CWARNFLAGS?= -Werror
-
-.if (${HAVE_GCC28} != "")
-CWARNFLAGS+= -Wno-main
-.endif
+CWARNFLAGS?= -Werror -Wall -Wno-main -Wno-format
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS}
-.if (${HAVE_GCC28} != "")
-CFLAGS+= -mno-pic
-.endif
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -N -Ttext 80000000 -e start
STRIPFLAGS= -d