Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix disabling optimizations with CLING_DEBUG
As noted in #14593, the build fails during a rootcling execution when setting CLING_DEBUG=1 in the environment with error: invalid integral value '0 -fno-omit-frame-pointer' in '-O0 -fno-omit-frame-pointer' Upon investigation, it only works in the ROOT prompt because TCling turns on basic -O1 unless in rootcling. This overrides the (misformed) "-O0 -fno-omit-frame-pointer". Split the argument in two entries and move it after inserting the user-provided arguments to properly apply also on the prompt by now taking precedence over -O1. Closes #14593
- Loading branch information