Commit 8eeb9d9
committed
llvm-test-suite.cmake.example: fix optimization level selection
The `*_FLAGS_RELEASE` options are added after `*_FLAGS` ones by CMake,
resulting in `-O3 -DNDEBUG` being added unconditionally.
This commit overrides both set of variables (and passes `FORCE` flag
to `set`) to prevent hard-to-spot errors.1 parent c752b36 commit 8eeb9d9
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
0 commit comments