[Chapel Merge] Stop throwing a non-GCC flag with GCC

Branch: refs/heads/main
Revision: fa48c05
Author: e-kayrakli
Log Message:

Merge pull request #18039 from e-kayrakli/make-gnu-fix

Stop throwing a non-GCC flag with GCC

I've made some changes in Makefile.gnu in Adjust Makefile.gnu to account for different gcc/g++ versions by e-kayrakli · Pull Request #18033 · chapel-lang/chapel · GitHub.

But there, I've added a non-GCC flag to WARN_CFLAGS, that caused some smoketest failures. This PR addresses the issue.

[Trivial, not reviewed]

Modified Files:
M make/compiler/Makefile.gnu

Compare: https://github.com/chapel-lang/chapel/compare/3b3db9935534...fa48c058c4f7