From: Daniel Borca Date: Mon, 30 Aug 2004 08:34:52 +0000 (+0000) Subject: Werror is bad, unless you know what you are doing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eec588be6fd9b3c082aae8588e9bfeafb23d95dc;p=mesa.git Werror is bad, unless you know what you are doing --- diff --git a/Makefile.mgw b/Makefile.mgw index 6f53efd55d8..294f35559ff 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