diff options
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r-- | mesonbuild/compilers/d.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index b7bc49a..9d9863b 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -356,6 +356,10 @@ class DCompiler(Compiler): # Translate common D arguments here. if arg == '-pthread': continue + if arg.startswith('-fstack-protector'): + continue + if arg.startswith('-D'): + continue if arg.startswith('-Wl,'): # Translate linker arguments here. linkargs = arg[arg.index(',') + 1:].split(',') |