openwrt: include --std=c99 compile flag to luaexpat makefile

This commit is contained in:
Bart Van Der Meerssche 2010-09-20 17:34:41 +02:00
parent 266097d24f
commit ba27080b4c
1 changed files with 2 additions and 2 deletions

View File

@ -40,13 +40,13 @@ endef
define Build/Compile define Build/Compile
cd $(PKG_BUILD_DIR)/ && \ 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) \ $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) \
$(TARGET_CFLAGS) $(TARGET_LDFLAGS) \ $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
-I$(STAGING_DIR)/usr/include \ -I$(STAGING_DIR)/usr/include \
-lexpat -llua -lm -ldl &&\ -lexpat -llua -lm -ldl &&\
$(TARGET_CROSS)strip luaexpat.so &&\ $(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) \ $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) \
$(TARGET_CFLAGS) $(TARGET_LDFLAGS) \ $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
-I$(STAGING_DIR)/usr/include &&\ -I$(STAGING_DIR)/usr/include &&\