From fdb5f000643af6bda9363d7492ab6bce8cf724ea Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Wed, 10 Oct 2012 14:01:43 +0100 Subject: [PATCH] Add $(EXTRACFLAGS) to $(CFLAGS) for MinGW/gcc build on Windows This is useful if anything is ever put into $(EXTRACFLAGS) (e.g. I'm currently experimenting with optionally putting $(CXX_FLAG) into it for a C++ build), and is already done in the VC case (here, and in win32/Makefile). --- win32/makefile.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/makefile.mk b/win32/makefile.mk index 9978006..e9d40f8 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -452,7 +452,7 @@ LINK_DBG = -s .ENDIF EXTRACFLAGS = -CFLAGS = $(INCLUDES) $(DEFINES) $(LOCDEFS) $(OPTIMIZE) +CFLAGS = $(EXTRACFLAGS) $(INCLUDES) $(DEFINES) $(LOCDEFS) $(OPTIMIZE) LINK_FLAGS = $(LINK_DBG) -L"$(INST_COREDIR)" -L"$(CCLIBDIR)" OBJOUT_FLAG = -o EXEOUT_FLAG = -o -- 2.7.4