diff options
| author | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-30 08:34:52 +0000 | 
|---|---|---|
| committer | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-30 08:34:52 +0000 | 
| commit | eec588be6fd9b3c082aae8588e9bfeafb23d95dc (patch) | |
| tree | 6abfaa223d1ac28ac9874ce4d5afd15f9505622f | |
| parent | a5bc6421dfe5c7b0153a28b999c444267835f02b (diff) | |
Werror is bad, unless you know what you are doing
| -rw-r--r-- | Makefile.mgw | 11 | 
1 files changed, 8 insertions, 3 deletions
| diff --git a/Makefile.mgw b/Makefile.mgw index 6f53efd55d..294f35559f 100644 --- a/Makefile.mgw +++ b/Makefile.mgw @@ -58,9 +58,14 @@  .PHONY : all libgl clean realclean  CPU ?= pentium -
 -# when -std=c99 mingw will not define WIN32 -CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32 + +ifeq ($(ICD),1) +  # when -std=c99 mingw will not define WIN32 +  CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32 +else +  # I love c89 +  CFLAGS = -Wall -W -pedantic +endif  CFLAGS += -O2 -ffast-math -mcpu=$(CPU)  export CFLAGS | 
