From ab6b6fec1a1ad0523170ecb877e8e9d798901ae7 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 2 Aug 2022 20:28:15 -0700 Subject: Remove extra debug information from boost url Yocto complains that some logging information is getting included in the bmcweb binary that points to the yocto TMPDIR location. One of these things is boost::url, which has a flag for disabling this behavior. Enable the flag. The only downside to this is that we lose the per-file information in our error messages, which in my obvservation, we don't actually log, so the behavior doesn't change. To keep a reproducible build, this seems reasonable, and in line with the behavior we want. Note, there is still one file remaining, host_name_verification.ipp, so the error is still present in builds, but this gets us closer. Tested: strings bmcweb | grep tmp no longer contains references to the boost::url Signed-off-by: Ed Tanous Change-Id: If5789613b0de2a55684d686aaf5857b73245e4bd --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index b9f37325c7..a88a18e9ac 100644 --- a/meson.build +++ b/meson.build @@ -243,6 +243,7 @@ cxx.get_supported_arguments([ '-DBOOST_BEAST_SEPARATE_COMPILATION', '-DBOOST_BEAST_USE_STD_STRING_VIEW', '-DBOOST_EXCEPTION_DISABLE', + '-DBOOST_URL_NO_SOURCE_LOCATION', '-DJSON_NOEXCEPTION', ]), language : 'cpp') -- cgit v1.2.3