summaryrefslogtreecommitdiff
path: root/cross/x86_64-w64-mingw32.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cross/x86_64-w64-mingw32.txt')
-rw-r--r--cross/x86_64-w64-mingw32.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/cross/x86_64-w64-mingw32.txt b/cross/x86_64-w64-mingw32.txt
index e04d439..8d75e8d 100644
--- a/cross/x86_64-w64-mingw32.txt
+++ b/cross/x86_64-w64-mingw32.txt
@@ -5,7 +5,6 @@ c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
# https://github.com/msys2/MINGW-packages/issues/3516
# https://github.com/mesonbuild/meson/issues/13324
-# https://github.com/msys2/MINGW-packages/issues/11726
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106103
# https://embeddedartistry.com/blog/2020/04/13/prefer-gcc-ar-to-ar-in-your-buildsystems/
ar = 'x86_64-w64-mingw32-gcc-ar'
@@ -19,6 +18,10 @@ ar = 'x86_64-w64-mingw32-gcc-ar'
nm = 'x86_64-w64-mingw32-gcc-nm'
needs_exe_wrapper = true
+[built-in options]
+# https://github.com/msys2/MINGW-packages/issues/11726#issuecomment-1381836644
+cpp_args = ['-fno-declone-ctor-dtor']
+
[host_machine]
system = 'windows'
cpu_family = 'x86_64'