lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 2f8351fe48b21d935e1a1889a1c61cecd1d450ba
parent 32d42bdcdc5d7115fea441244d334153b73b3a53
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri, 15 Feb 2008 15:44:11 -0200

turn off optimizations when testing

Diffstat:
Mmakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/makefile b/makefile @@ -12,7 +12,7 @@ CWARNS= -pedantic -Waggregate-return -Wcast-align \ # -DEXTERNMEMCHECK -DHARDSTACKTESTS -DHARDMEMTESTS # -g -DLUA_USER_H='"ltests.h"' # -fomit-frame-pointer #-pg -malign-double -# TESTS= -g -DLUA_USER_H='"ltests.h"' +# TESTS= -g -DLUA_USER_H='"ltests.h"' -O0 LOCAL = $(TESTS) $(CWARNS) @@ -22,7 +22,7 @@ MYLIBS= CC= gcc -CFLAGS= -Wall $(MYCFLAGS) -O2 +CFLAGS= -Wall -O2 $(MYCFLAGS) # CC= ~lhf/sunstudio12/bin/cc # CFLAGS= -xO5 -v -Xc -native -xstrconst AR= ar rcu