Browse Source

force malloc/realloc detection

Waldemar Brodkorb 10 years ago
parent
commit
9a9ea0972b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      package/chillispot/Makefile

+ 2 - 0
package/chillispot/Makefile

@@ -20,6 +20,8 @@ include ${ADK_TOPDIR}/mk/package.mk
 $(eval $(call PKG_template,CHILLISPOT,chillispot,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 AUTOTOOL_STYLE:=	autoreconf
+CONFIGURE_ENV+=         ac_cv_func_malloc_0_nonnull=yes \
+			ac_cv_func_realloc_0_nonnull=yes
 
 chillispot-install:
 	${INSTALL_DIR} ${IDIR_CHILLISPOT}/usr/sbin ${IDIR_CHILLISPOT}/etc