Fix compilation, change rpl_malloc detection, closes #423
[openwrt/svn-archive/archive.git] / openwrt / package / miau / Makefile
index b8290aa7b4636944ab55ee4dd3469802002a5e04..ecfb03d884efab09d2d1bc4b5543b887e75d4165 100644 (file)
@@ -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) \