[packages] luaexpat: compile with -fPIC
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18194 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d9d754c950
commit
788aa1a96c
@ -41,7 +41,7 @@ define Build/Compile
|
|||||||
LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \
|
LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \
|
||||||
COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \
|
COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \
|
||||||
LIB_OPTION="-shared $(TARGET_LDFLAGS)" \
|
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"
|
LD="$(TARGET_CROSS)ld -shared"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user