001-allow_optim_flags.patch (359B)
1 --- a/Makefile 2 +++ b/Makefile 3 @@ -14,7 +14,8 @@ LUABIN= $(LUA)/bin 4 ZLIB=../zlib-1.2.3 5 6 # no need to change anything below here 7 -CFLAGS= $(INCS) $(DEFS) $(WARN) -O0 -fPIC 8 +CFLAGS= $(INCS) $(DEFS) $(WARN) $(OFLAGS) -fPIC 9 +OFLAGS= -O0 10 WARN= -g -Werror -Wall -pedantic #-ansi 11 INCS= -I$(LUAINC) -I$(ZLIB) 12 LIBS= -L$(ZLIB) -lz -L$(LUALIB) -L$(LUABIN) #-llua51