mirror of
https://github.com/lua/lua.git
synced 2024-11-27 12:13:38 +08:00
turn off optimizations when testing
This commit is contained in:
parent
32d42bdcdc
commit
2f8351fe48
4
makefile
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user