diff options
author | Brian Paul <[email protected]> | 2004-08-25 15:59:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-08-25 15:59:48 +0000 |
commit | a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 (patch) | |
tree | e4d68d47d99c2f747619829a488dd0b6ba5cf361 /Makefile.mgw | |
parent | 866286936ac34070826382f1d1cd28b613dd4bd1 (diff) |
Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
Diffstat (limited to 'Makefile.mgw')
-rw-r--r-- | Makefile.mgw | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.mgw b/Makefile.mgw index 762b05b7110..6f53efd55d8 100644 --- a/Makefile.mgw +++ b/Makefile.mgw @@ -58,8 +58,9 @@ .PHONY : all libgl clean realclean CPU ?= pentium - -CFLAGS = -Wall -W -pedantic +
+# when -std=c99 mingw will not define WIN32 +CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32 CFLAGS += -O2 -ffast-math -mcpu=$(CPU) export CFLAGS |