projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5bc642
)
Werror is bad, unless you know what you are doing
author
Daniel Borca
<dborca@users.sourceforge.net>
Mon, 30 Aug 2004 08:34:52 +0000
(08:34 +0000)
committer
Daniel Borca
<dborca@users.sourceforge.net>
Mon, 30 Aug 2004 08:34:52 +0000
(08:34 +0000)
Makefile.mgw
patch
|
blob
|
history
diff --git
a/Makefile.mgw
b/Makefile.mgw
index 6f53efd55d8aa7c91b0d4b39132edb0c241765e2..294f35559ff463e33af01751d077c68e4c4e29ad 100644
(file)
--- a/
Makefile.mgw
+++ b/
Makefile.mgw
@@
-58,9
+58,14
@@
.PHONY : all libgl clean realclean
CPU ?= pentium
-
\r
-# 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