From 642c3be66e016a00057b07583e54aa1338498331 Mon Sep 17 00:00:00 2001 From: Allen Martin Date: Tue, 18 Dec 2012 18:39:59 +0000 Subject: [PATCH] Update libtool to keep in sync with toolchain Force a re-emerge of host libtool BUG=chromium-os:37334 TEST=Added fake "4.6.x-google" version string to libtool and ran ./update_chroot and verified libtool was re-emerged Change-Id: I82d3da181831a7718b230305c5aca7899d591c2d Signed-off-by: Allen Martin Reviewed-on: https://gerrit.chromium.org/gerrit/39858 Reviewed-by: Mike Frysinger --- chroot_version_hooks.d/49_update_libtool | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 chroot_version_hooks.d/49_update_libtool diff --git a/chroot_version_hooks.d/49_update_libtool b/chroot_version_hooks.d/49_update_libtool new file mode 100644 index 0000000000..c8693e34ce --- /dev/null +++ b/chroot_version_hooks.d/49_update_libtool @@ -0,0 +1,12 @@ +# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Update libtool to make sure it's in sync with toolchain. + +if grep -q 4.6.x-google /usr/bin/libtool; then + info "Rebuilding libtool after gcc upgrade" + sudo -E emerge libtool -q +fi + +exit 0