diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-31 17:58:42 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-31 17:58:42 -0300 |
commit | f8a571ee356f386ed7b5af898c2d297fd6d295fd (patch) | |
tree | 2dc8ee3bbaaa9bc4bc3b82903771c9c28cbf88be | |
parent | 397e32399bc7a5b602a4fb39d654dbf2f4896805 (diff) | |
download | lua-f8a571ee356f386ed7b5af898c2d297fd6d295fd.tar.gz lua-f8a571ee356f386ed7b5af898c2d297fd6d295fd.tar.bz2 lua-f8a571ee356f386ed7b5af898c2d297fd6d295fd.zip |
some new options for warnings and optimizations.
-rw-r--r-- | makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | # $Id: makefile,v 1.30 1997/03/31 14:17:09 roberto Exp roberto $ | 1 | # $Id: makefile,v 1.31 1997/03/31 14:23:49 roberto Exp roberto $ |
2 | 2 | ||
3 | #configuration | 3 | #configuration |
4 | 4 | ||
@@ -9,7 +9,8 @@ | |||
9 | CONFIG = -DPOPEN -D_POSIX_SOURCE | 9 | CONFIG = -DPOPEN -D_POSIX_SOURCE |
10 | # Compilation parameters | 10 | # Compilation parameters |
11 | CC = gcc | 11 | CC = gcc |
12 | CFLAGS = $(CONFIG) -Wall -Wmissing-prototypes -Wshadow -ansi -O2 -pedantic | 12 | CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return |
13 | CFLAGS = $(CONFIG) $(CWARNS) -ansi -O2 -fomit-frame-pointer | ||
13 | 14 | ||
14 | #CC = acc | 15 | #CC = acc |
15 | #CFLAGS = -fast -I/usr/5include | 16 | #CFLAGS = -fast -I/usr/5include |