mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-22 20:24:36 +02:00
Put the switch 'omit-frame-pointer' in the right place
This commit is contained in:
parent
266da128c5
commit
44af7c2835
10
Makefile
10
Makefile
@ -28,12 +28,12 @@
|
|||||||
|
|
||||||
# Gives a nice speedup, but also spoils debugging on x86. Comment out this
|
# Gives a nice speedup, but also spoils debugging on x86. Comment out this
|
||||||
# line when debugging.
|
# line when debugging.
|
||||||
OMIT_FRAME_POINTER = -fomit-frame-pointer
|
OMIT_FRAME_PTR = -fomit-frame-pointer
|
||||||
|
|
||||||
LUABIN = lua
|
LUABIN = lua
|
||||||
LUAPKG = lua5.2
|
LUAPKG = lua5.2
|
||||||
CFLAGS = `pkg-config $(LUAPKG) --cflags` -fPIC -O3 -Wall
|
CFLAGS = `pkg-config $(LUAPKG) --cflags` -fPIC -O3 -Wall $(OMIT_FRAME_PTR)
|
||||||
LFLAGS = -shared $(OMIT_FRAME_POINTER)
|
LFLAGS = -shared
|
||||||
|
|
||||||
INSTALL_PATH = `$(LUABIN) -e' \
|
INSTALL_PATH = `$(LUABIN) -e' \
|
||||||
for dir in package.cpath:gmatch("(/[^?;]+)?") do \
|
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
|
## install path from Lua, comment out the previous lines and uncomment and
|
||||||
## change the following ones according to your building environment.
|
## change the following ones according to your building environment.
|
||||||
|
|
||||||
#CFLAGS = -I/usr/local/include/ -fPIC -O3 -Wall
|
#CFLAGS = -I/usr/local/include/ -fPIC -O3 -Wall $(OMIT_FRAME_PTR)
|
||||||
#LFLAGS = -shared $(OMIT_FRAME_POINTER)
|
#LFLAGS = -shared
|
||||||
#INSTALL_PATH = /usr/local/lib/lua/5.2/
|
#INSTALL_PATH = /usr/local/lib/lua/5.2/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user