summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-10-06 18:44:29 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-10-06 18:44:29 +0200
commitd2af93ac160872124b4066a77415eb06007c7326 (patch)
treee9f0afd941b440948ad38a0a5187ea555e1a7698 /configure
parent09191516511840edb0356b0f13fc149f78f8a09e (diff)
downloadffmpeg-d2af93ac160872124b4066a77415eb06007c7326.tar.gz
configure: Also try -mstack-alignment for clang,
Fixes stack alignment on x86_32 FreeBSD. Fixes ticket #5231.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index ee7e8520ab..e014615eb9 100755
--- a/configure
+++ b/configure
@@ -6202,6 +6202,7 @@ elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16
elif enabled clang; then
check_cflags -mllvm -stack-alignment=16
+ check_cflags -mstack-alignment=16
check_cflags -Qunused-arguments
check_cflags -Werror=implicit-function-declaration
check_cflags -Werror=missing-prototypes