mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-13 09:08:20 +00:00
configure: don't support asm without memalign
I tried it, and it broke horribly. We should definitively rule out this. Unfortunately, it's not as easy as just setting `disable asm` here, because asm having been enabled will already have affected the build process further upstream - conversely, we don't know whether or not memalign exists until fairly late in the build process, and I'm not about to go destroying the current organization of the file just to work around this. So an error message it is.
This commit is contained in:
committed by
Niklas Haas
co-authored by
Niklas Haas
parent
5fa2a65c11
commit
d67d81a374
@@ -8183,6 +8183,13 @@ haiku)
|
||||
;;
|
||||
esac
|
||||
|
||||
if ! enabled_any memalign posix_memalign aligned_malloc; then
|
||||
if enabled_any asm inline_asm; then
|
||||
die "ERROR: Building with assembly enabled is not supported on platforms "\
|
||||
"without aligned memory allocations! Try reconfiguring with --disable-asm"
|
||||
fi
|
||||
fi
|
||||
|
||||
flatten_extralibs(){
|
||||
nested_entries=
|
||||
list_name=$1
|
||||
|
||||
Reference in New Issue
Block a user