summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-03-31 17:58:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-03-31 17:58:42 -0300
commitf8a571ee356f386ed7b5af898c2d297fd6d295fd (patch)
tree2dc8ee3bbaaa9bc4bc3b82903771c9c28cbf88be
parent397e32399bc7a5b602a4fb39d654dbf2f4896805 (diff)
downloadlua-github-f8a571ee356f386ed7b5af898c2d297fd6d295fd.tar.gz
some new options for warnings and optimizations.
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index a1e2d58d..debc3e61 100644
--- 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