aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-01-23 20:42:47 +0200
committerGitHub <noreply@github.com>2017-01-23 20:42:47 +0200
commit469a758c322bc161d9d0bab00cf213acf7b33df5 (patch)
treec1ad4863733b5b2e1b944f533740d6fde9a407fa /mesonbuild/backend/ninjabackend.py
parent23f3cec9d029b5d44fa7f6a109ab9cda948b12ba (diff)
parentd9c31d4a243f167b75dde4122260ead27aa0d69a (diff)
downloadmeson-469a758c322bc161d9d0bab00cf213acf7b33df5.zip
meson-469a758c322bc161d9d0bab00cf213acf7b33df5.tar.gz
meson-469a758c322bc161d9d0bab00cf213acf7b33df5.tar.bz2
Merge pull request #1320 from centricular/fix-llvmir-and-assembly
Fix llvmir and assembly
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r--mesonbuild/backend/ninjabackend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 8de9b5a..e1a478c 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -1758,9 +1758,9 @@ rule FORTRAN_DEP_HACK
Compiles C/C++, ObjC/ObjC++, Fortran, and D sources
"""
if isinstance(src, str) and src.endswith('.h'):
- raise AssertionError('BUG: sources should not contain headers')
+ raise AssertionError('BUG: sources should not contain headers {!r}'.format(src))
if isinstance(src, RawFilename) and src.fname.endswith('.h'):
- raise AssertionError('BUG: sources should not contain headers')
+ raise AssertionError('BUG: sources should not contain headers {!r}'.format(src.fname))
extra_orderdeps = []
compiler = get_compiler_for_source(target.compilers.values(), src)
commands = []