]> git.tdb.fi Git - builder.git/commitdiff
Use a different cross-compile prefix for 64-bit Windows
authorMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2019 12:00:07 +0000 (15:00 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2019 12:00:07 +0000 (15:00 +0300)
The i686 version of MinGW won't compile 64-bit binaries even with -m64.

builderrc

index 207c2d6ab0e1e9c6444c2158840549bcde5cd7b7..39407207a0d8335093da2e5d63f56b9e5b2fd182 100644 (file)
--- a/builderrc
+++ b/builderrc
@@ -3,11 +3,16 @@ architecture "arm-linux"
        prefix "arm-linux-gnueabi";
 };
 
-architecture "windows"
+architecture "windows-32"
 {
        prefix "i686-w64-mingw32";
 };
 
+architecture "windows-64"
+{
+       prefix "x86_64-w64-mingw32";
+};
+
 architecture "arm-android"
 {
        prefix "arm-linux-androideabi";