diff --git a/openwrt/package/miau/Makefile b/openwrt/package/miau/Makefile index b8290aa7b..ecfb03d88 100644 --- a/openwrt/package/miau/Makefile +++ b/openwrt/package/miau/Makefile @@ -24,6 +24,8 @@ $(PKG_BUILD_DIR)/.configured: CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ + ac_cv_func_malloc_0_nonnull=yes \ + ac_cv_func_realloc_0_nonnull=yes \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \