Excluded ${D}usr/lib/debug/* files from hardened checks.

BUG=chromium-os:35605
TEST=emerge-$board chromeos-kernel does not show hardened warnings on debug
files.

Change-Id: I0396ef9f964ad435602f65db6192429521906de1
Reviewed-on: https://gerrit.chromium.org/gerrit/36397
Tested-by: asharif <asharif@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: asharif <asharif@chromium.org>
This commit is contained in:
Ahmad Sharif 2012-10-23 16:47:51 -07:00 committed by Gerrit
parent 99961380a6
commit 82a9e6cf50

View File

@ -75,6 +75,8 @@ check_binaries()
case "${binary}" in
*.ko)
;;
${D}usr/lib/debug/*)
;;
*)
check_compiler_flags "${binary}"
check_linker_flags "${binary}"