install hooks: Allow lib64 for google-breakpad

We want to build libbreakpad_client.a as a 64-bit archive so we can link
it with core_collect64 in crash-reporter. This sanity check fails though
because the package installs the archive to /usr/lib64. Skip this sanity
check when the package is google-breakpad so we can have both the 32-bit
and 64-bit versions of libbreakpad_client.a useable by crash-reporter.

TEST=USE="cros_arm64" emerge-trogdor google-breakpad

Change-Id: Ifaa60d3156cd106cde0b9a512bf5515d85e7d757
Tested-by: Stephen Boyd <>
Reviewed-by: Mike Frysinger <>
diff --git a/hooks/install/ b/hooks/install/
index c8edf47..438d656 100755
--- a/hooks/install/
+++ b/hooks/install/
@@ -35,6 +35,12 @@
 # Main entry point for this hook.
 check_multilib() {
   local paths=()
+  case "${CATEGORY}/${PN}" in
+    # Needs to install a 64-bit archive on arm32 builds.
+    chromeos-base/google-breakpad) return ;;
+  esac
   case ${ARCH} in
     if ! bad_path_exists "lib64"; then