fix(elb): use clang-only -fbracket-depth flag conditionally #34
Reference in New Issue
Block a user
Delete Branch "fix/elb-gcc-bracket-depth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
gcc rejects -fbracket-depth=1024 with 'unrecognized command-line option'. Was hidden until sdk-release.yaml actually ran elb to build downstream projects (epm, el-install) — dev/stage CIs compile elb but never invoke it to link. Use shell command substitution to probe cc --version and only emit the flag for clang.