mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
There are roughly 50 Lua packages. It's about time we consider a proposal for moving all of them under a lang/lua sub-folder. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
13 lines
359 B
Diff
13 lines
359 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -14,7 +14,8 @@ LUABIN= $(LUA)/bin
|
|
ZLIB=../zlib-1.2.3
|
|
|
|
# no need to change anything below here
|
|
-CFLAGS= $(INCS) $(DEFS) $(WARN) -O0 -fPIC
|
|
+CFLAGS= $(INCS) $(DEFS) $(WARN) $(OFLAGS) -fPIC
|
|
+OFLAGS= -O0
|
|
WARN= -g -Werror -Wall -pedantic #-ansi
|
|
INCS= -I$(LUAINC) -I$(ZLIB)
|
|
LIBS= -L$(ZLIB) -lz -L$(LUALIB) -L$(LUABIN) #-llua51
|