x86_64-windows.txt
| 1 |
diff --git a/acinclude.m4 b/acinclude.m4 |
|---|---|
| 2 |
index 5a008f0..e22de35 100644 |
| 3 |
--- a/acinclude.m4 |
| 4 |
+++ b/acinclude.m4 |
| 5 |
@@ -113,7 +113,14 @@ fi |
| 6 |
dnl MinGW needs -march=i686 for atomics |
| 7 |
dnl =================================== |
| 8 |
if test $HAVE_MSWINDOWS = yes ; then |
| 9 |
- CFLAGS="$CFLAGS -march=i686" |
| 10 |
+ case "$target" in |
| 11 |
+ *x86_64*) |
| 12 |
+ CFLAGS="$CFLAGS -m64" |
| 13 |
+ ;; |
| 14 |
+ *) |
| 15 |
+ CFLAGS="$CFLAGS -march=i686" |
| 16 |
+ ;; |
| 17 |
+ esac |
| 18 |
fi |
| 19 |
|
| 20 |
dnl Byte order |
