mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-04-20 17:40: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:
parent
5fa2a65c11
commit
d67d81a374
1 changed files with 7 additions and 0 deletions
7
configure
vendored
7
configure
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue