mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 05:51:43 +01:00
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 <amartin@nvidia.com> Reviewed-on: https://gerrit.chromium.org/gerrit/39858 Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
adf8a003e8
commit
642c3be66e
12
chroot_version_hooks.d/49_update_libtool
Normal file
12
chroot_version_hooks.d/49_update_libtool
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user