diff -aur trunk-orig/Makefile trunk/Makefile
old
|
new
|
|
19 | 19 | include config.mak |
20 | 20 | |
21 | 21 | CXXFLAGS:= -Wall $(CXXFLAGS) |
22 | | CXXFLAGS+= -O -Wuninitialized |
| 22 | CXXFLAGS+= -Wuninitialized |
23 | 23 | CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas |
24 | 24 | # Even more warnings... |
25 | 25 | CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wconversion |
diff -aur trunk-orig/configure trunk/configure
old
|
new
|
|
364 | 364 | fi |
365 | 365 | done # for parm in ... |
366 | 366 | |
367 | | DEBFLAGS="-g" |
| 367 | DEBFLAGS="-g -O" |
368 | 368 | |
369 | 369 | for ac_option in $@; do |
370 | 370 | case "$ac_option" in |
… |
… |
|
455 | 455 | # debug is enabled by default |
456 | 456 | ;; |
457 | 457 | --disable-debug) |
458 | | DEBFLAGS="" |
| 458 | DEBFLAGS="-O" |
459 | 459 | ;; |
460 | 460 | --enable-Werror) |
461 | 461 | CXXFLAGS="$CXXFLAGS -Werror" |