add -ansi -pedantic to CFLAGS, so that people won't try to use the behaviour

of the old zzhack-access macros, which with the current macro definitions
would cause a cast value to be used as an lvalue, which is a gcc extension,
but _not_ what we want.
This commit is contained in:
cgd 1996-12-29 10:36:37 +00:00
parent 88caf985e6
commit 879c890af2

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 1994/12/08 09:30:36 jtc Exp $
# $NetBSD: Makefile,v 1.5 1996/12/29 10:36:37 cgd Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
#
# Files are:
@ -32,7 +32,7 @@
# CONNECT enable ~C command (connect pgm to remote)
PROG= tip
CFLAGS+=-I${.CURDIR} \
CFLAGS+=-I${.CURDIR} -ansi -pedantic \
-DDEFBR=1200 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE -DCONNECT \
-DV831 -DVENTEL -DHAYES -DCOURIER -DT3000
.PATH: ${.CURDIR}/aculib