[CI/CD/CDASH] Disable L1 cxx optimization for Profiling builds if gcc 10.2.1
- Add flag (cmake option) to disable the L1 optimization
- Auto-set this flag if a Profiling build with gcc 10.2.1 is detected
=> Compiler crashes indicate things to fix on compiler side, NOT on our side! => But at least with this we avoid the crash
See Redmine Refs #2590
Edited by Pierre-Alain Loizeau