]> git.e2factory.org Git - e2factory.git/commitdiff
make.vars: add LUA_CFLAGS for building shared objects
authorTobias Ulmer <tu@emlix.com>
Mon, 10 Oct 2016 14:13:29 +0000 (16:13 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:18 +0000 (15:41 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
make.vars

index 629ec1f00e9476d0f05e2185f415e0efd36b4541..f8c8813206e819401a3e747eea8403127ac95603 100644 (file)
--- a/make.vars
+++ b/make.vars
@@ -72,6 +72,7 @@ BUILD_LUA_CPPFLAGS = -I $(TOPLEVEL)/lua/lua-$(LUA_VERSION)/src \
                        -D_FILE_OFFSET_BITS=64
 LUA_CPPFLAGS      = -I $(INCDIR)/lua-$(LUA_VERSION) \
                        -D_FILE_OFFSET_BITS=64
+LUA_CFLAGS       = -fPIC
 BINARY_STORE      = $(E2DATA)/projects/emlix/e2/files
 
 CC       = gcc