From 209aa909421a63f659ca3ad3d848f6eebf5164ff Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 2 Aug 2022 21:11:06 -0700 Subject: 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 Change-Id: I53bccdfdcd3846952c13863227728182d93dc50c --- meson.build | 1 + 1 file changed, 1 insertion(+) 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') -- cgit v1.2.3