X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=lang%2Fluaexpat%2FMakefile;h=ded0229b9776d1be7d66ccac883a38067cc5415a;hp=a0dc1c261288e55edcfc553622e863d7e68bb213;hb=1760f8d14ff5a1e27f006f9814c01724d19474b8;hpb=fe22907a1bb0cd0b054f739eece19e19f3f6093f;ds=sidebyside diff --git a/lang/luaexpat/Makefile b/lang/luaexpat/Makefile index a0dc1c2612..ded0229b97 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