summarylogtreecommitdiffstats
path: root/toolchain-mingw.meson
diff options
context:
space:
mode:
authorNicola Murino2019-01-07 21:56:48 +0100
committerNicola Murino2019-01-07 21:56:48 +0100
commit95db3a6991dd7d4c7b0354650762046be02fc858 (patch)
tree2db6fc138f2ea219f57bace8ca22210c36a8b342 /toolchain-mingw.meson
parent8fec317a2f42b10e3beb65b644ccb8289f649313 (diff)
downloadaur-95db3a6991dd7d4c7b0354650762046be02fc858.tar.gz
add -fno-plt to cflags
Diffstat (limited to 'toolchain-mingw.meson')
-rw-r--r--toolchain-mingw.meson4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain-mingw.meson b/toolchain-mingw.meson
index d2abc182da25..4ebe480d3146 100644
--- a/toolchain-mingw.meson
+++ b/toolchain-mingw.meson
@@ -11,8 +11,8 @@ exe_wrapper = '@TRIPLE@-wine'
[properties]
root = '@TRIPLE@'
-c_args = ['-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '--param=ssp-buffer-size=4']
-cpp_args = ['-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '--param=ssp-buffer-size=4']
+c_args = ['-D_FORTIFY_SOURCE=2', '-fno-plt', '-fexceptions', '--param=ssp-buffer-size=4']
+cpp_args = ['-D_FORTIFY_SOURCE=2', '-fno-plt', '-fexceptions', '--param=ssp-buffer-size=4']
needs_exe_wrapper = true
[host_machine]