summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-08-03 07:11:06 +0300
committerEd Tanous <ed@tanous.net>2022-08-17 19:30:55 +0300
commit209aa909421a63f659ca3ad3d848f6eebf5164ff (patch)
treeed93f826ef2d006fbc764c1a7756c44a0b85078f
parentab6b6fec1a1ad0523170ecb877e8e9d798901ae7 (diff)
downloadbmcweb-209aa909421a63f659ca3ad3d848f6eebf5164ff.tar.xz
Disable source locations in OpenSSL
The newest yocto now gives warnings about TMPDIR being located as a string in your binary. There is one OpenSSL_free call that seems to print our source location. Setting OPENSSL_NO_FILENAMES disables this. Tested: bitbake bmcweb no longer prints warning about TMPDIR cat bmcweb | grep -a host_name_verification.ipp No longer shows the debug string present. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I53bccdfdcd3846952c13863227728182d93dc50c
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index a88a18e9ac..d30aebb810 100644
--- a/meson.build
+++ b/meson.build
@@ -245,6 +245,7 @@ cxx.get_supported_arguments([
'-DBOOST_EXCEPTION_DISABLE',
'-DBOOST_URL_NO_SOURCE_LOCATION',
'-DJSON_NOEXCEPTION',
+ '-DOPENSSL_NO_FILENAMES',
]),
language : 'cpp')