aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authormakise-homura <akemi_homura@kurisa.ch>2020-01-13 17:11:20 +0300
committermakise-homura <akemi_homura@kurisa.ch>2020-01-27 22:35:26 +0300
commit7321cc776afb313326e6cb1596527ef04af9aedb (patch)
treecf73799771d118b036ccc069e6171b43e12d82c2 /mesonbuild/compilers/cpp.py
parenta493761d89d87e06e787492ba7f9685df6578902 (diff)
downloadmeson-7321cc776afb313326e6cb1596527ef04af9aedb.zip
meson-7321cc776afb313326e6cb1596527ef04af9aedb.tar.gz
meson-7321cc776afb313326e6cb1596527ef04af9aedb.tar.bz2
Fix missing 'defines' argumet for Elbrus compiler
...But somehow it still remains in C++ compiler.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r--mesonbuild/compilers/cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index a09c611..2ed969a 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -325,7 +325,7 @@ class ElbrusCPPCompiler(GnuCPPCompiler, ElbrusCompiler):
GnuCPPCompiler.__init__(self, exelist, version, for_machine,
is_cross, info, exe_wrapper, defines,
**kwargs)
- ElbrusCompiler.__init__(self, defines)
+ ElbrusCompiler.__init__(self)
# It does not support c++/gnu++ 17 and 1z, but still does support 0x, 1y, and gnu++98.
def get_options(self):