build: Add compiler-dependent flag setup from libCEED Makefile
Summary
Takes the compiler-dependent flags from libCEED and adds them here. This has the following effects:
- Better default performance compiling wise (automatically adds in the appropriate SIMD and
-marchflags) - Adds in some new warning flags
The new warning flags uncovered some issues previously, so those are fixed in this PR as well.
Checklist
-
Atomic commit history -
All new features documented -
Updated CHANGELOG.md