gcc rejects -fbracket-depth=1024 with 'unrecognized command-line option'. Use shell subshell to probe cc --version and only pass the flag when the compiler is clang.