Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sbin/make.cross: fix cflags test for older GCCs
GCC 9 has "unrecognized command line option" message instead of "unrecognized command-line option" (note the space instead of the hyphen), which makes it pass all the cflags tests and append unsupported flags to KCFLAGS. Use '.' pattern when grepping the output to match both ' ' and '-'. Fixes: 5ee4b22 ("sbin/make.cross: append extra kcflags when feasible") Signed-off-by: Alexander Lobakin <[email protected]> Signed-off-by: Philip Li <[email protected]>
- Loading branch information