Skip to content
Snippets Groups Projects
Commit 39ad2f39 authored by Yann Gautier's avatar Yann Gautier Committed by Sebastien Pasdeloup
Browse files

stm32mp1: Add sign-compare warning


Add -Wsign-compare to TF_CFLAGS to check signedness comparison during
STM32MP1 platform compilation.

Change-Id: I4cada49622f44258d3e0da4560a566de9c7d54b3
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/183876


Reviewed-by: default avatarLionel DEBIEVE <lionel.debieve@st.com>
Reviewed-by: default avatarCIBUILD <smet-aci-builds@lists.codex.cro.st.com>
parent 1f3a1950
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,8 @@ ifeq ($(AARCH32_SP),sp_min) ...@@ -42,6 +42,8 @@ ifeq ($(AARCH32_SP),sp_min)
TF_CFLAGS += -mfloat-abi=soft TF_CFLAGS += -mfloat-abi=soft
endif endif
TF_CFLAGS += -Wsign-compare
# Not needed for Cortex-A7 # Not needed for Cortex-A7
WORKAROUND_CVE_2017_5715:= 0 WORKAROUND_CVE_2017_5715:= 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment