diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 82ce401..3092567 100644 --- a/configure.ac +++ b/configure.ac @@ -223,9 +223,17 @@ AS_IF([test "x$enable_asm" != xno], [ [*darwin*], [ ASFLAGS="$ASFLAGS -f macho$BITTYPE -DPREFIX -DHAVE_ALIGNED_STACK=1" ], - [*linux*|*dragonfly*|*bsd*|*solaris*|*haiku*], [ + [*linux*|*solaris*|*haiku*], [ ASFLAGS="$ASFLAGS -f elf$BITTYPE -DHAVE_ALIGNED_STACK=1" ], + [*dragonfly*|*bsd*], [ + ASFLAGS="$ASFLAGS -f elf$BITTYPE" + AS_IF([test "x$BITS" = x64], [ + ASFLAGS="$ASFLAGS -DHAVE_ALIGNED_STACK=1" + ], [ + ASFLAGS="$ASFLAGS -DHAVE_ALIGNED_STACK=0" + ]) + ], [*cygwin*|*mingw*], [ ASFLAGS="$ASFLAGS -f win$BITTYPE" AS_IF([test "x$BITS" = x64], [ |