[package] fix more std=gnu99 lua related packages
authorFlorian Fainelli <florian@openwrt.org>
Thu, 29 Oct 2009 18:19:06 +0000 (18:19 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 29 Oct 2009 18:19:06 +0000 (18:19 +0000)
SVN-Revision: 18211

mail/imapfilter/Makefile
net/prosody/Makefile

index e1d939b..08a4997 100644 (file)
@@ -49,7 +49,7 @@ define Build/Compile
                $(TARGET_CONFIGURE_OPTS) \
                INCDIRS="$(TARGET_CPPFLAGS)" \
                LIBDIRS="$(TARGET_LDFLAGS)" \
-               MYCFLAGS="$(TARGET_CFLAGS)" \
+               MYCFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
                MYLDFLAGS="-lcrypt" 
 endef
 
index a8d59c9..7f88340 100644 (file)
@@ -50,7 +50,7 @@ endef
 
 define Build/Compile
        $(call Build/Compile/Default,\
-               CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
+               CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -std=gnu99" \
                LDFLAGS="$(TARGET_LDFLAGS)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                PREFIX="/usr" \