]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - meson.build
Merge pull request #23000 from mrc0mmand/coverage__exit
[thirdparty/systemd.git] / meson.build
index 4a154850db10c9c552739a0b6da0219e566679ea..69dce9c87fcaeb3a9aa3360ee0ea0fa6e421c57a 100644 (file)
@@ -47,6 +47,9 @@ fuzzer_build = want_ossfuzz or want_libfuzzer
 # More items are added later after they have been detected.
 summary({'build mode' : get_option('mode')})
 
+# GCOV doesn't define any macro when compiled with, so let's define it ourselves
+conf.set10('BUILT_WITH_COVERAGE', get_option('b_coverage'))
+
 #####################################################################
 
 # Try to install the git pre-commit hook