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:
parent
ca92fe36e0
commit
9b0ca01903
@ -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')
|
||||
|
@ -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]]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user