WITH_CLANG_IS_CC and unrecognized command line options

Bruce Cran bruce at cran.org.uk
Sun May 20 17:34:25 UTC 2012


I've done a fresh install of FreeBSD 9.0, upgraded to 10-CURRENT and 
have just tried doing a rebuild with CLANG_IS_CC=yes in src.conf.  
However there's an error building ncurses:

cc: unrecognized option '-Qunused-arguments'
cc: unrecognized option '-Qunused-arguments'
cc1: error: unrecognized command line option "-Wno-empty-body"
cc1: error: unrecognized command line option "-Wno-string-plus-int"
cc1: error: unrecognized command line option "-Wno-tautological-compare"
cc1: error: unrecognized command line option "-Wno-parentheses-equality"
cc1: error: unrecognized command line option "-Wno-empty-body"
cc1: error: unrecognized command line option "-Wno-string-plus-int"
cc1: error: unrecognized command line option "-Wno-tautological-compare"
cc1: error: unrecognized command line option "-Wno-parentheses-equality"
*** [make_hash] Error code 1
*** [make_keys] Error code 1

Is there some configuration I've missed?

-- 
Bruce Cran


More information about the freebsd-toolchain mailing list