aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/unsupported_flags.go
blob: 3e3e8cb5a6cde13c4b2072fcf4d4ba3ea896509e (plain)
1
2
3
4
5
6
7
8
9
10
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
}