| | @@ -35,11 +35,11 @@ |
| 35 | 35 | define USE_PREAD [cc-check-functions pread] |
| 36 | 36 | |
| 37 | 37 | # Find tclsh for the test suite. Can't yet use jimsh for this. |
| 38 | 38 | cc-check-progs tclsh |
| 39 | 39 | |
| 40 | | -define EXTRA_CFLAGS "" |
| 40 | +define EXTRA_CFLAGS "-Wall" |
| 41 | 41 | define EXTRA_LDFLAGS "" |
| 42 | 42 | define USE_SYSTEM_SQLITE 0 |
| 43 | 43 | define USE_LINENOISE 0 |
| 44 | 44 | define FOSSIL_ENABLE_MINIZ 0 |
| 45 | 45 | define USE_SEE 0 |
| | @@ -133,16 +133,16 @@ |
| 133 | 133 | define-append EXTRA_CFLAGS {-D_XOPEN_SOURCE=500 -D__EXTENSIONS__} |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | if {[opt-bool fossil-debug]} { |
| 137 | 137 | define-append EXTRA_CFLAGS -DFOSSIL_DEBUG |
| 138 | | - define CFLAGS {-g -O0} |
| 138 | + define CFLAGS {-g -O0 -Wall} |
| 139 | 139 | msg-result "Debugging support enabled" |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | if {[opt-bool no-opt]} { |
| 143 | | - define CFLAGS {-g -O0} |
| 143 | + define CFLAGS {-g -O0 -Wall} |
| 144 | 144 | msg-result "Builting without compiler optimization" |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | if {[opt-bool with-see]} { |
| 148 | 148 | define-append EXTRA_CFLAGS -DUSE_SEE |
| 149 | 149 | |