fix(elb): use clang-only -fbracket-depth flag conditionally #34

Merged
will.anderson merged 1 commits from fix/elb-gcc-bracket-depth into dev 2026-05-07 07:57:35 +00:00
Owner

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.

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.
will.anderson added 1 commit 2026-05-07 07:53:51 +00:00
fix(elb): use clang-only -fbracket-depth flag conditionally
El SDK CI - dev / build-and-test (pull_request) Successful in 3m26s
6f634ae432
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.
will.anderson merged commit b0d0975f05 into dev 2026-05-07 07:57:35 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/el#34