summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-08-03 06:28:15 +0300
committerEd Tanous <ed@tanous.net>2022-08-17 19:30:41 +0300
commitab6b6fec1a1ad0523170ecb877e8e9d798901ae7 (patch)
tree98788792294859fd60c443d3e7a17536ffe13a7c
parentbc1d29de81216e99d0a73c5fd3b6bb7fd2194ba8 (diff)
downloadbmcweb-ab6b6fec1a1ad0523170ecb877e8e9d798901ae7.tar.xz
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 <edtanous@google.com> Change-Id: If5789613b0de2a55684d686aaf5857b73245e4bd
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
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')