]> code.ossystems Code Review - meta-freescale.git/commitdiff
libfslcodec: Add 'textrel' in INSANE_SKIP to avoid known warnings
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 27 Mar 2013 18:03:53 +0000 (15:03 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 27 Mar 2013 18:03:53 +0000 (15:03 -0300)
The binaries has relocation code inside text section which is not a
good practice however this is a known issue and we shouldn't bother
user with many warnings during the build for it as it might end
covering real issues.

Change-Id: Id027c7c7bd05bb7aa44150892d92f7ea49d2e3a8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec_3.0.5.bb

index 93b4370a181227881b895c557028b076633d640a..adaf7dbc6f24d71912ccd382908bbe8bb733fb38 100644 (file)
@@ -48,7 +48,7 @@ python populate_packages_prepend() {
     # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
     # the source we cannot fix it. Disable the insane check for now.
     for p in d.getVar('PACKAGES', True).split():
-        d.setVar("INSANE_SKIP_%s" % p, "ldflags")
+        d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel")
 }
 
 # Ensure we get warnings if we miss something