]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(build): allow additional CFLAGS for library build
authorGovindraj Raja <govindraj.raja@arm.com>
Fri, 27 Jan 2023 10:08:54 +0000 (10:08 +0000)
committerGovindraj Raja <govindraj.raja@arm.com>
Tue, 21 Feb 2023 11:09:47 +0000 (11:09 +0000)
commit5a65fcd5f9c67baa681f664e4596760ca1f2606a
tree3387724be6849de6a8c47477b12790e52f4e6c92
parent33b4df9c1f773ce7ea6a8e97fe6bf3129738fa10
feat(build): allow additional CFLAGS for library build

Current CFLAGS if set for library builds could impact entire build, so
allow to pass additional CFLAGs for library builds based on format
<LIBNAME>_CFLAGS.

This support is currently needed to avoid 'redundant declaration'
error from latest mbedtls-3.3, the issue is reported to mbedtls[1]
and is under consideration to remove any redundant declarations.
But till then we have to disable that compiler option while building
for mbedtls-3.3

[1]: https://github.com/Mbed-TLS/mbedtls/issues/6910

Change-Id: Ic99af22b229f8089c82110d6545f762c14a62f5c
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
make_helpers/build_macros.mk