[Chapel Merge] Enable make ASSERTS=1 to activate dyno asserts

Branch: refs/heads/main
Revision: d05c008
Author: mppf
Link: Enable make ASSERTS=1 to activate dyno asserts by mppf · Pull Request #19884 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19884 from mppf/make-asserts-enables-dyno-asserts

Enable make ASSERTS=1 to activate dyno asserts

This PR updates Makefile.compiler.head so that make ASSERTS=1 will
activate assert calls within the compiler (and these are in particular
used by dyno). make ASSERTS=1 is older and probably a more reasonable
way to access this than make DYNO_ENABLE_ASSERTIONS=1.

Reviewed by @daviditen - thanks!