aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/c.py
diff options
context:
space:
mode:
authormakise-homura <akemi_homura@kurisa.ch>2020-01-23 23:45:41 +0300
committermakise-homura <akemi_homura@kurisa.ch>2020-01-27 22:37:21 +0300
commitee6c2c87fc238e673c609ad7200bd0aa66af03b4 (patch)
treef3609061b219c6e41f4ce7a6a4509891606a02b5 /mesonbuild/compilers/c.py
parentc910ad4b8f81505e4aba4dd786512ddd9b6ef27f (diff)
downloadmeson-ee6c2c87fc238e673c609ad7200bd0aa66af03b4.zip
meson-ee6c2c87fc238e673c609ad7200bd0aa66af03b4.tar.gz
meson-ee6c2c87fc238e673c609ad7200bd0aa66af03b4.tar.bz2
Bringing back defines in Elbrus C compiler to simplify environment.py
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r--mesonbuild/compilers/c.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
index 10114fa..4647562 100644
--- a/mesonbuild/compilers/c.py
+++ b/mesonbuild/compilers/c.py
@@ -231,9 +231,10 @@ class PGICCompiler(PGICompiler, CCompiler):
class ElbrusCCompiler(GnuCCompiler, ElbrusCompiler):
def __init__(self, exelist, version, for_machine: MachineChoice,
- is_cross, info: 'MachineInfo', exe_wrapper=None, **kwargs):
+ is_cross, info: 'MachineInfo', exe_wrapper=None,
+ defines=None, **kwargs):
GnuCCompiler.__init__(self, exelist, version, for_machine, is_cross,
- info, exe_wrapper, **kwargs)
+ info, exe_wrapper, defines, **kwargs)
ElbrusCompiler.__init__(self)
# It does support some various ISO standards and c/gnu 90, 9x, 1x in addition to those which GNU CC supports.