在高版本的 bear 中,需要使用
-- 来表明 command to execute
# bear --help
Usage: bear [--output
--output
--verbose run in verbose mode
-- ... command to execute
advanced options
--append append result to an existing output file
--config
--force-preload force to use library preload
--force-wrapper force to use compiler wrappers
developer options
--citnames
--interceptor
--library
--wrapper
--wrapper-dir
query options
--help print help and exit
--version print version and exit
所以你应该执行:
bear -- make zImage -j4