aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/c.py
diff options
context:
space:
mode:
authorGuillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>2017-06-24 20:16:30 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2017-06-26 14:15:44 -0400
commitfab5634916191816ddecf1a2a958fa7ed2eac1ec (patch)
tree57a26181a852bf30e377fdd8d20d7a43626db993 /mesonbuild/compilers/c.py
parentce9cd33f27e8605c2d7fc77c3c2f086b6ac530ae (diff)
downloadmeson-fab5634916191816ddecf1a2a958fa7ed2eac1ec.zip
meson-fab5634916191816ddecf1a2a958fa7ed2eac1ec.tar.gz
meson-fab5634916191816ddecf1a2a958fa7ed2eac1ec.tar.bz2
Add 'Compiler.get_display_language'
Use this when we print language-related information to the console and via the Ninja backend.
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r--mesonbuild/compilers/c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
index c164ccd..cf9d1ee 100644
--- a/mesonbuild/compilers/c.py
+++ b/mesonbuild/compilers/c.py
@@ -179,7 +179,7 @@ class CCompiler(Compiler):
return ['-Wl,--out-implib=' + implibname]
def sanity_check_impl(self, work_dir, environment, sname, code):
- mlog.debug('Sanity testing ' + self.language + ' compiler:', ' '.join(self.exelist))
+ mlog.debug('Sanity testing ' + self.get_display_language() + ' compiler:', ' '.join(self.exelist))
mlog.debug('Is cross compiler: %s.' % str(self.is_cross))
extra_flags = []