aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2021-02-10 16:40:24 +0000
committerAndre Przywara <andre.przywara@arm.com>2021-02-10 17:34:45 +0000
commit323b6c6305805de1d7cde053d26f17c04fc41036 (patch)
treed6f882459839f9e4721c0019f581f9e90f1043a2 /lib/libc
parent925477ece458270875b39aa42c3678bf05b40689 (diff)
downloadplatform_external_arm-trusted-firmware-323b6c6305805de1d7cde053d26f17c04fc41036.tar.gz
platform_external_arm-trusted-firmware-323b6c6305805de1d7cde053d26f17c04fc41036.tar.bz2
platform_external_arm-trusted-firmware-323b6c6305805de1d7cde053d26f17c04fc41036.zip
services: TRNG: Fix -O0 compilation
The code to check for the presence of the TRNG service relies on toolchain garbage collection, which is not enabled with -O0. Add #ifdef guards around the call to the TRNG service handler to cover builds without optimisation as well. Change-Id: I08ece2005ea1c8fa96afa13904a851dec6b24216 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions