summaryrefslogtreecommitdiff
path: root/package/libpng
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-07-08 23:56:47 +0000
committerEric Andersen <andersen@codepoet.org>2006-07-08 23:56:47 +0000
commit830228b9d990c63d870bef9e05f474f3083cb87d (patch)
treec1af336d8b305b5d68ff6fb5bdaf07cc0c659c8f /package/libpng
parent3b4205f166f7628989b82b90a3c53fe57c41f405 (diff)
fix broken libpng compile -- malloc was being handled incorrectly
when cross compiling
Diffstat (limited to 'package/libpng')
-rw-r--r--package/libpng/libpng.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk
index b8e90843d..7ea0e615d 100644
--- a/package/libpng/libpng.mk
+++ b/package/libpng/libpng.mk
@@ -41,6 +41,12 @@ $(LIBPNG_DIR)/.configured: $(LIBPNG_DIR)/.unpacked
$(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD="$(HOSTCC)" \
CFLAGS="$(TARGET_CFLAGS)" \
./configure \
+ ac_cv_func_memcmp_working=yes \
+ ac_cv_have_decl_malloc=yes \
+ gl_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_calloc_0_nonnull=yes \
+ ac_cv_func_realloc_0_nonnull=yes \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \