qcacld-3.0: Add compilation flag to allow flex array usage

Add -fstrict-flex-arrays=0 compilation flag to allow flex array
compilation and usage.

Change-Id: I4b2cf5e8aec515e2ba0f016ebd075d4950476e31
CRs-Fixed: 3658950
This commit is contained in:
Alan Z. Chen
2023-11-07 20:17:29 -08:00
committed by Ravindra Konda
parent 9e68a0a819
commit ed102a0909

View File

@@ -2202,7 +2202,7 @@ def _define_module_for_target_variant_chipset(target, variant, chipset):
)
copts.append("-Wno-format")
copts.append("-Wno-array-bounds")
copts.append("-fstrict-flex-arrays=0")
copts.append("-include")
copts.append("$(location :{}_grep_defines)".format(tvc))