1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

meson: rename cpp_cmd to cxx_cmd

cpp is a really bad alias for c++ because it's also the name of the
preprocessor. Let's rename the variable.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-10-10 11:50:57 +02:00
parent ca92fe36e0
commit 9b0ca01903
2 changed files with 3 additions and 3 deletions

View File

@ -278,9 +278,9 @@ cxx = find_program('c++', required : false)
if cxx.found()
# Used only for tests
add_languages('cpp')
cpp_cmd = ' '.join(meson.get_compiler('cpp').cmd_array())
cxx_cmd = ' '.join(meson.get_compiler('cpp').cmd_array())
else
cpp_cmd = ''
cxx_cmd = ''
endif
want_ossfuzz = get_option('oss-fuzz')

View File

@ -9,7 +9,7 @@ sanitize_address = custom_target(
'fuzzers',
'-Db_lundef=false -Db_sanitize=address',
' '.join(cc.cmd_array()),
cpp_cmd])
cxx_cmd])
sanitizers = [['address', sanitize_address]]