Commit d2af93ac authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

configure: Also try -mstack-alignment for clang,

Fixes stack alignment on x86_32 FreeBSD.
Fixes ticket #5231.
parent 09191516
...@@ -6202,6 +6202,7 @@ elif enabled llvm_gcc; then ...@@ -6202,6 +6202,7 @@ 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 check_cflags -mllvm -stack-alignment=16
check_cflags -mstack-alignment=16
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment