From: florian Date: Thu, 29 Oct 2009 10:59:47 +0000 (+0000) Subject: [package] fix luasocket compilation failures (#6065) X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=f6a0237ee903f686621f9f0e89c63a0f6644e4cb;p=packages.git [package] fix luasocket compilation failures (#6065) git-svn-id: svn://svn.openwrt.org/openwrt/packages@18200 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/lang/luasocket/Makefile b/lang/luasocket/Makefile index d2673c245..3d503d7e7 100644 --- a/lang/luasocket/Makefile +++ b/lang/luasocket/Makefile @@ -38,7 +38,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/ all \ LIBDIR="$(TARGET_LDFLAGS)" \ - CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ + CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -std=gnu99" \ LD="$(TARGET_CROSS)ld -shared" endef