Fossil SCM

When configuring with --no-opt in addition to --fossil-debug, do not swallow -DFOSSIL_DEBUG.

danield 2021-03-18 10:55 trunk
Commit 72983897b0c2aa4472139da47d921508c65906d72c830c682ebe612512c37541
1 file changed +3
+3
--- auto.def
+++ auto.def
@@ -235,10 +235,13 @@
235235
}
236236
237237
if {[opt-bool no-opt]} {
238238
define CFLAGS {-g -O0 -Wall}
239239
msg-result "Builting without compiler optimization"
240
+ if {[opt-bool fossil-debug]} {
241
+ define-append CFLAGS -DFOSSIL_DEBUG
242
+ }
240243
}
241244
242245
if {[opt-bool with-mman]} {
243246
define-append EXTRA_CFLAGS -DUSE_MMAN_H
244247
define USE_MMAN_H 1
245248
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button