summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-04-29 10:40:37 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2012-05-02 09:57:12 -0700
commit77cfb2563c6bc234a354c1694de8a9eb76a309cf (patch)
tree122afcc290aff7306fdc7a230c0545efa29528a0
parent82a0497cf317a9bf3e5d65fb13485097d0e88321 (diff)
downloadffmpeg-streaming-77cfb2563c6bc234a354c1694de8a9eb76a309cf.zip
ffmpeg-streaming-77cfb2563c6bc234a354c1694de8a9eb76a309cf.tar.gz
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).
-rwxr-xr-xconfigure7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure b/configure
index 1dc2e3e..fd72f1e 100755
--- a/configure
+++ b/configure
@@ -2462,7 +2462,6 @@ case $target_os in
oss_outdev_extralibs="-lossaudio"
;;
openbsd)
- enable malloc_aligned
# On OpenBSD 4.5. the compiler does not use PIC unless
# explicitly using -fPIC. Libav builds fine without PIC,
# however the generated executable will not do anything
@@ -2475,17 +2474,14 @@ case $target_os in
oss_outdev_extralibs="-lossaudio"
;;
dragonfly)
- enable malloc_aligned
disable symver
;;
freebsd)
- enable malloc_aligned
;;
bsd/os)
add_extralibs -lpoll -lgnugetopt
;;
darwin)
- enable malloc_aligned
gas="gas-preprocessor.pl $cc"
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)'
@@ -2508,7 +2504,6 @@ case $target_os in
fi
LIBTARGET=i386
if enabled x86_64; then
- enable malloc_aligned
LIBTARGET="i386:x86-64"
elif enabled arm; then
LIBTARGET=arm-wince
@@ -3188,7 +3183,7 @@ check_deps $CONFIG_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
echo "install prefix $prefix"
OpenPOWER on IntegriCloud