Commit 962ebf8
authored
Don't force compiler flags
Applications generally may not override optimization and debug flags, which may be provided by the environment.
Forcing -O2 and -DNODEBUG also disallows debug builds unconditionally. CMake has build types (`cmake -DCMAKE_BUILD_TYPE=Release/Debug`) to handle this.1 parent 185de0a commit 962ebf8
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | 224 | | |
230 | 225 | | |
231 | 226 | | |
| |||
0 commit comments