configure: Also try -mstack-alignment for clang,
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 6 Oct 2016 16:44:29 +0000 (18:44 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 6 Oct 2016 16:44:29 +0000 (18:44 +0200)
Fixes stack alignment on x86_32 FreeBSD.
Fixes ticket #5231.

configure

index ee7e852..e014615 100755 (executable)
--- 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