From ba27080b4c75ff6a45ede26452187caf16c479e8 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Mon, 20 Sep 2010 17:34:41 +0200 Subject: [PATCH] openwrt: include --std=c99 compile flag to luaexpat makefile --- mote/v1/openwrt/package/luaexpat/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mote/v1/openwrt/package/luaexpat/Makefile b/mote/v1/openwrt/package/luaexpat/Makefile index 8034f91..2b89d32 100644 --- a/mote/v1/openwrt/package/luaexpat/Makefile +++ b/mote/v1/openwrt/package/luaexpat/Makefile @@ -40,13 +40,13 @@ endef define Build/Compile cd $(PKG_BUILD_DIR)/ && \ - $(TARGET_CROSS)gcc -shared -o luaexpat.so src/lxplib.c -Wall -fPIC \ + $(TARGET_CROSS)gcc -shared -o luaexpat.so src/lxplib.c -Wall -fPIC --std=c99 \ $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) \ $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \ -I$(STAGING_DIR)/usr/include \ -lexpat -llua -lm -ldl &&\ $(TARGET_CROSS)strip luaexpat.so &&\ - $(TARGET_CROSS)gcc -c src/lxplib.c -Wall \ + $(TARGET_CROSS)gcc -c src/lxplib.c -Wall --std=c99 \ $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) \ $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \ -I$(STAGING_DIR)/usr/include &&\