mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +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()
|
if cxx.found()
|
||||||
# Used only for tests
|
# Used only for tests
|
||||||
add_languages('cpp')
|
add_languages('cpp')
|
||||||
cpp_cmd = ' '.join(meson.get_compiler('cpp').cmd_array())
|
cxx_cmd = ' '.join(meson.get_compiler('cpp').cmd_array())
|
||||||
else
|
else
|
||||||
cpp_cmd = ''
|
cxx_cmd = ''
|
||||||
endif
|
endif
|
||||||
|
|
||||||
want_ossfuzz = get_option('oss-fuzz')
|
want_ossfuzz = get_option('oss-fuzz')
|
||||||
|
@ -9,7 +9,7 @@ sanitize_address = custom_target(
|
|||||||
'fuzzers',
|
'fuzzers',
|
||||||
'-Db_lundef=false -Db_sanitize=address',
|
'-Db_lundef=false -Db_sanitize=address',
|
||||||
' '.join(cc.cmd_array()),
|
' '.join(cc.cmd_array()),
|
||||||
cpp_cmd])
|
cxx_cmd])
|
||||||
|
|
||||||
sanitizers = [['address', sanitize_address]]
|
sanitizers = [['address', sanitize_address]]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user