|
> -CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS) > +CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS) -fPIC The Makefile supports variables MYCFLAGS, MYLDFLAGS, MYLIBS, MYOBJS. In your case, just do "make linux MYCFLAGS=-fPIC".