aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-06 15:20:45 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-06 15:20:45 -0200
commit64864f094b9be22662fe1d0becb02dee97851067 (patch)
tree53e05b8b3f61a38c14dd4a30cb6e458724becccf /makefile
parent9bd3fc10391ea6868c324d9d09a0fca4ef453015 (diff)
downloadlua-64864f094b9be22662fe1d0becb02dee97851067.tar.gz
lua-64864f094b9be22662fe1d0becb02dee97851067.tar.bz2
lua-64864f094b9be22662fe1d0becb02dee97851067.zip
new options for debugging Lua (HARDSTACKTESTS & EXTERNMEMCHECK)
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/makefile b/makefile
index 9baf9260..82c00199 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,5 @@
1# 1#
2## $Id: makefile,v 1.37 2002/08/16 20:02:13 roberto Exp roberto $ 2## $Id: makefile,v 1.38 2002/10/25 21:38:17 roberto Exp $
3## Makefile 3## Makefile
4## See Copyright Notice in lua.h 4## See Copyright Notice in lua.h
5# 5#
@@ -16,13 +16,13 @@
16# you may need to adapat the code, too. 16# you may need to adapat the code, too.
17 17
18 18
19# DEBUG = -g -DLUA_USER_H='"ltests.h"' 19# DEBUG = -g -DLUA_USER_H='"ltests.h"' # -DHARDSTACKTESTS -DEXTERNMEMCHECK
20OPTIMIZE = -O2 \ 20OPTIMIZE = -O2 \
21 -D'lua_number2int(i,d)=__asm__("fldl %1\nfistpl %0":"=m"(i):"m"(d))' \ 21# -D'lua_number2int(i,d)=__asm__("fldl %1\nfistpl %0":"=m"(i):"m"(d))' \
22 -fomit-frame-pointer 22# -fomit-frame-pointer
23 23
24CONFIG = -D_POSIX_SOURCE -DUSE_POPEN $(DEBUG) $(OPTIMIZE)
25 24
25CONFIG = -D_POSIX_SOURCE $(DEBUG) $(OPTIMIZE) # -DUSE_POPEN
26 26
27 27
28# Compilation parameters 28# Compilation parameters