summarylogtreecommitdiffstats
path: root/toolchain-mingw.meson
diff options
context:
space:
mode:
authorNicola Murino2019-01-07 22:13:27 +0100
committerNicola Murino2019-01-07 22:13:27 +0100
commite589929d9b9e9d57ea13c93b72ebfdc7204383a5 (patch)
tree018b21fa5eb78e37f00f8d659f70493312f6e2fc /toolchain-mingw.meson
parent95db3a6991dd7d4c7b0354650762046be02fc858 (diff)
downloadaur-e589929d9b9e9d57ea13c93b72ebfdc7204383a5.tar.gz
readd -Wp for preprocessor option
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 4ebe480d3146..10240e3df304 100644
--- a/toolchain-mingw.meson
+++ b/toolchain-mingw.meson
@@ -11,8 +11,8 @@ exe_wrapper = '@TRIPLE@-wine'
[properties]
root = '@TRIPLE@'
-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']
+c_args = ['-Wp,-D_FORTIFY_SOURCE=2', '-fno-plt', '-fexceptions', '--param=ssp-buffer-size=4']
+cpp_args = ['-Wp,-D_FORTIFY_SOURCE=2', '-fno-plt', '-fexceptions', '--param=ssp-buffer-size=4']
needs_exe_wrapper = true
[host_machine]