From 566c022572bbff8bb7ff105b9adbe74500b2c716 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Fri, 10 Jul 2026 14:04:29 -0400 Subject: Build fixes, get LTO+Os working on Windows Signed-off-by: Andrew Opalach --- cross/i686-w64-mingw32.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'cross/i686-w64-mingw32.txt') 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' -- cgit v1.2.3-101-g0448