summarylogtreecommitdiffstats
path: root/toolchain-mingw.meson
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-mingw.meson')
-rw-r--r--toolchain-mingw.meson2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain-mingw.meson b/toolchain-mingw.meson
index 3d496a393ab2..b52220e0406e 100644
--- a/toolchain-mingw.meson
+++ b/toolchain-mingw.meson
@@ -10,6 +10,8 @@ windres = '@TRIPLE@-windres'
[properties]
root = '@TRIPLE@'
+c_args = ['-O2', '-g', '-pipe', '-Wall', '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '--param=ssp-buffer-size=4']
+cpp_args = ['-O2', '-g', '-pipe', '-Wall', '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '--param=ssp-buffer-size=4']
needs_exe_wrapper = true
[host_machine]