mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
configure: remove malloc_aligned.
It was to signal that allocations are 16-byte aligned, but AVX requires 32-byte alignment, thus the check is no longer useful (and causes crashes).
This commit is contained in:
parent
82a0497cf3
commit
77cfb2563c
7
configure
vendored
7
configure
vendored
@ -2462,7 +2462,6 @@ case $target_os in
|
|||||||
oss_outdev_extralibs="-lossaudio"
|
oss_outdev_extralibs="-lossaudio"
|
||||||
;;
|
;;
|
||||||
openbsd)
|
openbsd)
|
||||||
enable malloc_aligned
|
|
||||||
# On OpenBSD 4.5. the compiler does not use PIC unless
|
# On OpenBSD 4.5. the compiler does not use PIC unless
|
||||||
# explicitly using -fPIC. Libav builds fine without PIC,
|
# explicitly using -fPIC. Libav builds fine without PIC,
|
||||||
# however the generated executable will not do anything
|
# however the generated executable will not do anything
|
||||||
@ -2475,17 +2474,14 @@ case $target_os in
|
|||||||
oss_outdev_extralibs="-lossaudio"
|
oss_outdev_extralibs="-lossaudio"
|
||||||
;;
|
;;
|
||||||
dragonfly)
|
dragonfly)
|
||||||
enable malloc_aligned
|
|
||||||
disable symver
|
disable symver
|
||||||
;;
|
;;
|
||||||
freebsd)
|
freebsd)
|
||||||
enable malloc_aligned
|
|
||||||
;;
|
;;
|
||||||
bsd/os)
|
bsd/os)
|
||||||
add_extralibs -lpoll -lgnugetopt
|
add_extralibs -lpoll -lgnugetopt
|
||||||
;;
|
;;
|
||||||
darwin)
|
darwin)
|
||||||
enable malloc_aligned
|
|
||||||
gas="gas-preprocessor.pl $cc"
|
gas="gas-preprocessor.pl $cc"
|
||||||
enabled ppc && add_asflags -force_cpusubtype_ALL
|
enabled ppc && add_asflags -force_cpusubtype_ALL
|
||||||
SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)'
|
SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)'
|
||||||
@ -2508,7 +2504,6 @@ case $target_os in
|
|||||||
fi
|
fi
|
||||||
LIBTARGET=i386
|
LIBTARGET=i386
|
||||||
if enabled x86_64; then
|
if enabled x86_64; then
|
||||||
enable malloc_aligned
|
|
||||||
LIBTARGET="i386:x86-64"
|
LIBTARGET="i386:x86-64"
|
||||||
elif enabled arm; then
|
elif enabled arm; then
|
||||||
LIBTARGET=arm-wince
|
LIBTARGET=arm-wince
|
||||||
@ -3188,7 +3183,7 @@ check_deps $CONFIG_LIST \
|
|||||||
|
|
||||||
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
|
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
|
||||||
|
|
||||||
! enabled_any memalign posix_memalign malloc_aligned &&
|
! enabled_any memalign posix_memalign &&
|
||||||
enabled_any $need_memalign && enable memalign_hack
|
enabled_any $need_memalign && enable memalign_hack
|
||||||
|
|
||||||
echo "install prefix $prefix"
|
echo "install prefix $prefix"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user