openbsd-ports/math/fftw/patches/gcc-patch-configure
steven 6cd159341c make configure test for correct stack alignment evaluate to no on i386
(it was returning a pretty much random test result)

go ahead sturm@
2006-01-17 07:18:23 +00:00

15 lines
597 B
Plaintext

$OpenBSD: gcc-patch-configure,v 1.1 2006/01/17 07:18:23 steven Exp $
--- configure.orig Mon Mar 24 08:09:56 2003
+++ configure Sun Dec 25 18:04:52 2005
@@ -9852,6 +9852,10 @@ acx_gcc_stack_align_bug=yes
fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
+# the above test does not always return the same value
+# so default to no correct stack alignment on i386
+acx_gcc_aligns_stack=no
+acx_gcc_stack_align_bug=yes
CFLAGS="$save_CFLAGS"
echo "$as_me:$LINENO: result: $acx_gcc_aligns_stack" >&5
echo "${ECHO_T}$acx_gcc_aligns_stack" >&6