Add -mllvm -stack-alignment=16 to CFLAGS when using clang
authorMåns Rullgård <mans@mansr.com>
Thu, 2 Sep 2010 19:40:18 +0000 (19:40 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 2 Sep 2010 19:40:18 +0000 (19:40 +0000)
Originally committed as revision 25027 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index b7bcb48..f63bbbc 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