Bläddra i källkod

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 1 år sedan
förälder
incheckning
ed102a0909
1 ändrade filer med 1 tillägg och 1 borttagningar
  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-format")
-    copts.append("-Wno-array-bounds")
+    copts.append("-fstrict-flex-arrays=0")
     copts.append("-include")
     copts.append("-include")
     copts.append("$(location :{}_grep_defines)".format(tvc))
     copts.append("$(location :{}_grep_defines)".format(tvc))