Commit 6121a3ef authored by Martin Storsjö's avatar Martin Storsjö
Browse files

configure: Only disable aligned stack on MSVC on 32 bit

On 64 bit, the stack seems to be aligned enough for our needs.
Signed-off-by: default avatarMartin Storsjö <>
parent f69f51b3
......@@ -2330,7 +2330,6 @@ probe_cc(){
if [ $pfx = hostcc ]; then
append _cflags -Dsnprintf=_snprintf
disable aligned_stack
eval ${pfx}_type=\$_type
......@@ -3470,6 +3469,8 @@ elif enabled tms470; then
add_cflags -pds=824 -pds=837
elif enabled pathscale; then
add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
elif enabled msvc; then
enabled x86_32 && disable aligned_stack
enabled_any $THREADS_LIST && enable threads
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