libiconv-full: fix compile-time linking error GCC7
[openwrt/openwrt.git] / package / libs / libiconv-full / Makefile
index 9776711a79b85ed59f07021384f6a2601ef2c4cc..ac7bfddf561227b87bc2cc8979eb86bf1a374666 100644 (file)
@@ -51,7 +51,7 @@ define Package/iconv
   TITLE+= utility
 endef
 
-TARGET_CFLAGS += $(FPIC) -DUSE_DOS
+TARGET_CFLAGS += $(FPIC) -DUSE_DOS -std=gnu89
 
 CONFIGURE_ARGS += \
        --enable-shared \