blob: ff1b0c7ba13cf29410f598a7d08e09ea6837e0c8 [file] [log] [blame]
#!/bin/sh
# Copyright 2014 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.
# This script wraps host gcc and disables a few bogus warnings. It can
# be used to add compilation flags to all host compilations. Flags
# are added at the beginning of the compilation command line so that
# the user can override them.
FLAGS_TO_ADD=(
-Wno-maybe-uninitialized
-Wno-unused-local-typedefs
-Wno-deprecated-declarations
)
exec "$0".real ${FLAGS_TO_ADD[@]} "$@"