From 2f8351fe48b21d935e1a1889a1c61cecd1d450ba Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 15 Feb 2008 15:44:34 -0200 Subject: [PATCH] turn off optimizations when testing --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 55b7d5d7..482f6b3a 100644 --- 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