commit f8a571ee356f386ed7b5af898c2d297fd6d295fd parent 397e32399bc7a5b602a4fb39d654dbf2f4896805 Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Mon, 31 Mar 1997 17:58:22 -0300 some new options for warnings and optimizations. Diffstat:
M | makefile | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/makefile b/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.30 1997/03/31 14:17:09 roberto Exp roberto $ +# $Id: makefile,v 1.31 1997/03/31 14:23:49 roberto Exp roberto $ #configuration @@ -9,7 +9,8 @@ CONFIG = -DPOPEN -D_POSIX_SOURCE # Compilation parameters CC = gcc -CFLAGS = $(CONFIG) -Wall -Wmissing-prototypes -Wshadow -ansi -O2 -pedantic +CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return +CFLAGS = $(CONFIG) $(CWARNS) -ansi -O2 -fomit-frame-pointer #CC = acc #CFLAGS = -fast -I/usr/5include