From 44af7c283524a00e4afb6b5f08a68e1179201151 Mon Sep 17 00:00:00 2001 From: Alexandre Erwin Ittner Date: Wed, 17 Nov 2010 19:32:54 -0200 Subject: [PATCH] Put the switch 'omit-frame-pointer' in the right place --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4a42e1c..35cf2f5 100644 --- a/Makefile +++ b/Makefile @@ -28,12 +28,12 @@ # Gives a nice speedup, but also spoils debugging on x86. Comment out this # line when debugging. -OMIT_FRAME_POINTER = -fomit-frame-pointer +OMIT_FRAME_PTR = -fomit-frame-pointer LUABIN = lua LUAPKG = lua5.2 -CFLAGS = `pkg-config $(LUAPKG) --cflags` -fPIC -O3 -Wall -LFLAGS = -shared $(OMIT_FRAME_POINTER) +CFLAGS = `pkg-config $(LUAPKG) --cflags` -fPIC -O3 -Wall $(OMIT_FRAME_PTR) +LFLAGS = -shared INSTALL_PATH = `$(LUABIN) -e' \ for dir in package.cpath:gmatch("(/[^?;]+)?") do \ @@ -47,8 +47,8 @@ INSTALL_PATH = `$(LUABIN) -e' \ ## install path from Lua, comment out the previous lines and uncomment and ## change the following ones according to your building environment. -#CFLAGS = -I/usr/local/include/ -fPIC -O3 -Wall -#LFLAGS = -shared $(OMIT_FRAME_POINTER) +#CFLAGS = -I/usr/local/include/ -fPIC -O3 -Wall $(OMIT_FRAME_PTR) +#LFLAGS = -shared #INSTALL_PATH = /usr/local/lib/lua/5.2/