Explorar o código

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
Alan Z. Chen hai 1 ano
pai
achega
ed102a0909
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wlan_qcacld3_modules.bzl

+ 1 - 1
wlan_qcacld3_modules.bzl

@@ -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))