makefile
| r11500 | r11501 | |
| 453 | 453 | CCOMFLAGS += -O$(OPTIMIZE) |
| 454 | 454 | |
| 455 | 455 | # if we are optimizing, include optimization options |
| 456 | | # and make all errors into warnings |
| 457 | 456 | ifneq ($(OPTIMIZE),0) |
| 458 | | ifneq ($(TARGETOS),os2) |
| 459 | | ifndef NOWERROR |
| 460 | | CCOMFLAGS += -Werror -fno-strict-aliasing $(ARCHOPTS) |
| 461 | | else |
| 462 | 457 | CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS) |
| 463 | 458 | endif |
| 464 | | else |
| 465 | | CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS) |
| 466 | | endif |
| 467 | | endif |
| 468 | 459 | |
| 469 | 460 | # add a basic set of warnings |
| 470 | 461 | CCOMFLAGS += \ |
| 462 | -Werror \ |
| 471 | 463 | -Wall \ |
| 472 | 464 | -Wcast-align \ |
| 473 | 465 | -Wundef \ |