blob: 364ee07c8272b71ff27d95c9b0e0b2f943f13a94 [file] [log] [blame]
// Copyright 2019 The ChromiumOS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package main
func checkUnsupportedFlags(cmd *command) error {
for _, arg := range cmd.Args {
if arg == "-fstack-check" {
return newUserErrorf(`option %q is not supported; crbug/485492`, arg)
}
}
return nil
}