mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
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>
13 lines
364 B
Plaintext
13 lines
364 B
Plaintext
# 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
|