mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
fix broken libpng compile -- malloc was being handled incorrectly
when cross compiling
This commit is contained in:
parent
3b4205f166
commit
830228b9d9
@ -41,6 +41,12 @@ $(LIBPNG_DIR)/.configured: $(LIBPNG_DIR)/.unpacked
|
|||||||
$(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD="$(HOSTCC)" \
|
$(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD="$(HOSTCC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
./configure \
|
./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) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user