diff options
author | Anthony Green <green@moxielogic.com> | 2018-03-18 16:00:04 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2018-03-18 16:00:04 -0400 |
commit | cec3a3a201f17a7f018f25e1a0917bd5206e5a5a (patch) | |
tree | 1ce486cf01ae7df13a87983b63261510e395f570 /m4 | |
parent | f34f8039c10c4d8d728bc335dcf2b2a38f6e8b50 (diff) | |
download | libffi-cec3a3a201f17a7f018f25e1a0917bd5206e5a5a.tar.gz |
Don't align-double for 32-bit x86
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_cc_maxopt.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/ax_cc_maxopt.m4 b/m4/ax_cc_maxopt.m4 index 59d03da..9e7f1ee 100644 --- a/m4/ax_cc_maxopt.m4 +++ b/m4/ax_cc_maxopt.m4 @@ -149,7 +149,8 @@ if test "$ac_test_CFLAGS" != "set"; then CFLAGS="-O3 -fomit-frame-pointer" # -malign-double for x86 systems - AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double") + # libffi local change -- don't align double, as it changes the ABI + # AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double") # -fstrict-aliasing for gcc-2.95+ AX_CHECK_COMPILE_FLAG(-fstrict-aliasing, |