X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/adde7768a2eab2950a7628319ec832c63a00ff03..8a1e72be0a34658cf2d8daecd7a6faf40eac9a3c:/package/lua/Makefile diff --git a/package/lua/Makefile b/package/lua/Makefile index c7706376d..189435868 100644 --- a/package/lua/Makefile +++ b/package/lua/Makefile @@ -87,7 +87,7 @@ endef define Build/Configure endef -TARGET_CFLAGS += -DLUA_USE_LINUX +TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ @@ -96,7 +96,7 @@ define Build/Compile AR="$(TARGET_CROSS)ar rcu" \ RANLIB="$(TARGET_CROSS)ranlib" \ INSTALL_ROOT=/usr \ - CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -fPIC" \ + CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ MYLDFLAGS="$(TARGET_LDFLAGS)" \ PKG_VERSION=$(PKG_VERSION) \ all linux