Fossil SCM
When configuring with --no-opt in addition to --fossil-debug, do not swallow -DFOSSIL_DEBUG.
Commit
72983897b0c2aa4472139da47d921508c65906d72c830c682ebe612512c37541
Parent
a517a2feeaa2107…
1 file changed
+3
M
auto.def
+3
| --- auto.def | ||
| +++ auto.def | ||
| @@ -235,10 +235,13 @@ | ||
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | if {[opt-bool no-opt]} { |
| 238 | 238 | define CFLAGS {-g -O0 -Wall} |
| 239 | 239 | msg-result "Builting without compiler optimization" |
| 240 | + if {[opt-bool fossil-debug]} { | |
| 241 | + define-append CFLAGS -DFOSSIL_DEBUG | |
| 242 | + } | |
| 240 | 243 | } |
| 241 | 244 | |
| 242 | 245 | if {[opt-bool with-mman]} { |
| 243 | 246 | define-append EXTRA_CFLAGS -DUSE_MMAN_H |
| 244 | 247 | define USE_MMAN_H 1 |
| 245 | 248 |
| --- auto.def | |
| +++ auto.def | |
| @@ -235,10 +235,13 @@ | |
| 235 | } |
| 236 | |
| 237 | if {[opt-bool no-opt]} { |
| 238 | define CFLAGS {-g -O0 -Wall} |
| 239 | msg-result "Builting without compiler optimization" |
| 240 | } |
| 241 | |
| 242 | if {[opt-bool with-mman]} { |
| 243 | define-append EXTRA_CFLAGS -DUSE_MMAN_H |
| 244 | define USE_MMAN_H 1 |
| 245 |
| --- auto.def | |
| +++ auto.def | |
| @@ -235,10 +235,13 @@ | |
| 235 | } |
| 236 | |
| 237 | if {[opt-bool no-opt]} { |
| 238 | define CFLAGS {-g -O0 -Wall} |
| 239 | msg-result "Builting without compiler optimization" |
| 240 | if {[opt-bool fossil-debug]} { |
| 241 | define-append CFLAGS -DFOSSIL_DEBUG |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | if {[opt-bool with-mman]} { |
| 246 | define-append EXTRA_CFLAGS -DUSE_MMAN_H |
| 247 | define USE_MMAN_H 1 |
| 248 |