From: jow Date: Wed, 28 Oct 2009 00:28:56 +0000 (+0000) Subject: [packages] luaexpat: compile with -fPIC X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=788aa1a96c9dd42a631cf79d6ef2ebbbdb4d665f;p=packages.git [packages] luaexpat: compile with -fPIC git-svn-id: svn://svn.openwrt.org/openwrt/packages@18194 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/lang/luaexpat/Makefile b/lang/luaexpat/Makefile index a0dc1c261..ded0229b9 100644 --- a/lang/luaexpat/Makefile +++ b/lang/luaexpat/Makefile @@ -41,7 +41,7 @@ define Build/Compile LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \ COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \ LIB_OPTION="-shared $(TARGET_LDFLAGS)" \ - CC="$(TARGET_CC) $(TARGET_CFLAGS) -std=c99" \ + CC="$(TARGET_CC) $(TARGET_CFLAGS) $(FPIC) -std=c99" \ LD="$(TARGET_CROSS)ld -shared" endef