You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit '847190ebd99ffd57dc89bd568a33bf2d5c424129'
* commit '847190ebd99ffd57dc89bd568a33bf2d5c424129': configure: Don't assume an aligned stack on clang on windows Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
13
configure
vendored
13
configure
vendored
@@ -6525,8 +6525,17 @@ elif enabled gcc; then
|
|||||||
elif enabled llvm_gcc; then
|
elif enabled llvm_gcc; then
|
||||||
check_cflags -mllvm -stack-alignment=16
|
check_cflags -mllvm -stack-alignment=16
|
||||||
elif enabled clang; then
|
elif enabled clang; then
|
||||||
check_cflags -mllvm -stack-alignment=16
|
if [ "$target_os" = "mingw32" -o "$target_os" = "win32" ] && enabled x86_32; then
|
||||||
check_cflags -mstack-alignment=16
|
# Clang doesn't support maintaining alignment without assuming the
|
||||||
|
# same alignment in every function. If 16 byte alignment would be
|
||||||
|
# enabled, one would also have to either add attribute_align_arg on
|
||||||
|
# every single entry point into the libraries or enable -mstackrealign
|
||||||
|
# (doing stack realignment in every single function).
|
||||||
|
disable aligned_stack
|
||||||
|
else
|
||||||
|
check_cflags -mllvm -stack-alignment=16
|
||||||
|
check_cflags -mstack-alignment=16
|
||||||
|
fi
|
||||||
check_cflags -Qunused-arguments
|
check_cflags -Qunused-arguments
|
||||||
check_cflags -Werror=implicit-function-declaration
|
check_cflags -Werror=implicit-function-declaration
|
||||||
check_cflags -Werror=missing-prototypes
|
check_cflags -Werror=missing-prototypes
|
||||||
|
Reference in New Issue
Block a user