From 0671dd31074e232bb8de05c9a5da357d71cd394f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Wed, 12 May 2021 09:49:45 +0200 Subject: [PATCH] Add notice of caching whether the compiler is MSVC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bence Szépkúti --- scripts/mbedtls_dev/c_build_helper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/mbedtls_dev/c_build_helper.py b/scripts/mbedtls_dev/c_build_helper.py index 4ce96ebfa..d02deb35a 100644 --- a/scripts/mbedtls_dev/c_build_helper.py +++ b/scripts/mbedtls_dev/c_build_helper.py @@ -115,6 +115,9 @@ def get_c_expression_values( to ``cc``. If ``CC`` looks like MSVC, use its command line syntax, otherwise assume the compiler supports Unix traditional ``-I`` and ``-o``. + NOTE: This function only checks the identity of the compiler referred to by + ``CC`` on its first invocation, and caches the result. + Return the list of values of the ``expressions``. """ if include_path is None: