build system: disable memalign on haiku, its not reliable there.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-06-21 16:36:23 +02:00
parent 06724c5f5d
commit ad3ac1d507
1 changed files with 5 additions and 0 deletions

5
configure vendored
View File

@ -3148,6 +3148,11 @@ check_deps $CONFIG_LIST \
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; } enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
if test $target_os == "haiku"; then
disable memalign
disable posix_memalign
fi
! enabled_any memalign posix_memalign malloc_aligned && ! enabled_any memalign posix_memalign malloc_aligned &&
enabled_any $need_memalign && enable memalign_hack enabled_any $need_memalign && enable memalign_hack