Add -mllvm -stack-alignment=16 to CFLAGS when using clang
[ffmpeg.git] / configure
index b7bcb4863f2173e4d5c8184b0494ac54044650ae..f63bbbc17f73c0b566300622ba62c0d4b3f092d4 100755 (executable)
--- a/configure
+++ b/configure
@@ -2877,6 +2877,7 @@ elif enabled gcc; then
     check_cflags -Werror=implicit-function-declaration
     check_cflags -Werror=missing-prototypes
 elif enabled clang; then
+    check_cflags -mllvm -stack-alignment=16
     check_cflags -Qunused-arguments
 elif enabled armcc; then
     # 2523: use of inline assembler is deprecated