summaryrefslogtreecommitdiff
path: root/cross/i686-w64-mingw32.txt
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-07-10 14:04:29 -0400
committerAndrew Opalach <andrew@akon.city> 2026-07-10 14:04:29 -0400
commit566c022572bbff8bb7ff105b9adbe74500b2c716 (patch)
tree6cc0942bdfcdcbf3b1df52c8436d1b0ea5f88c52 /cross/i686-w64-mingw32.txt
parentc60363d4652ff60826b29a2e75f53a78df0f44cb (diff)
downloadcamu-566c022572bbff8bb7ff105b9adbe74500b2c716.tar.gz
camu-566c022572bbff8bb7ff105b9adbe74500b2c716.tar.bz2
camu-566c022572bbff8bb7ff105b9adbe74500b2c716.zip
Build fixes, get LTO+Os working on Windows
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'cross/i686-w64-mingw32.txt')
-rw-r--r--cross/i686-w64-mingw32.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/cross/i686-w64-mingw32.txt b/cross/i686-w64-mingw32.txt
index 159c662..361578e 100644
--- a/cross/i686-w64-mingw32.txt
+++ b/cross/i686-w64-mingw32.txt
@@ -1,17 +1,22 @@
+# See x86_64-w64-mingw32.txt for references.
+
[binaries]
c = 'i686-w64-mingw32-gcc'
cpp = 'i686-w64-mingw32-g++'
-ar = 'i686-w64-mingw32-ar'
+ar = 'i686-w64-mingw32-gcc-ar'
strip = 'i686-w64-mingw32-strip'
windres = 'i686-w64-mingw32-windres'
dlltool = 'i686-w64-mingw32-dlltool'
exe_wrapper = 'wine'
[properties]
-ar = 'i686-w64-mingw32-ar'
-nm = 'i686-w64-mingw32-nm'
+ar = 'i686-w64-mingw32-gcc-ar'
+nm = 'i686-w64-mingw32-gcc-nm'
needs_exe_wrapper = true
+[built-in options]
+cpp_args = ['-fno-declone-ctor-dtor']
+
[host_machine]
system = 'windows'
cpu_family = 'x86'