From eec588be6fd9b3c082aae8588e9bfeafb23d95dc Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Mon, 30 Aug 2004 08:34:52 +0000 Subject: [PATCH] Werror is bad, unless you know what you are doing --- Makefile.mgw | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 -- 2.30.2