From 2369e35b39e4e5d1d586cf808770c4fb91faae72 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 30 Sep 2011 16:56:02 +0200 Subject: updated for version 7.3.326 Problem: MingW 4.6 no longer supports the -mno-cygwin option. Solution: Split the Cygwin and MingW makefiles. (Matsushita Shougo) --- src/GvimExt/Make_ming.mak | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/GvimExt/Make_ming.mak') diff --git a/src/GvimExt/Make_ming.mak b/src/GvimExt/Make_ming.mak index d764e3f04..9c383b0b1 100644 --- a/src/GvimExt/Make_ming.mak +++ b/src/GvimExt/Make_ming.mak @@ -1,6 +1,6 @@ # Project: gvimext # Generates gvimext.dll with gcc. -# Can be used for Cygwin and MingW (MingW ignores -mno-cygwin) +# To be used with MingW. # # Originally, the DLL base address was fixed: -Wl,--image-base=0x1C000000 # Now it is allocated dymanically by the linker by evaluating all DLLs @@ -31,12 +31,12 @@ endif ifeq ($(CROSS),yes) DEL = rm ifeq ($(MINGWOLD),yes) -CXXFLAGS := -O2 -mno-cygwin -fvtable-thunks +CXXFLAGS := -O2 -fvtable-thunks else -CXXFLAGS := -O2 -mno-cygwin +CXXFLAGS := -O2 endif else -CXXFLAGS := -O2 -mno-cygwin +CXXFLAGS := -O2 ifneq (sh.exe, $(SHELL)) DEL = rm else @@ -75,4 +75,3 @@ $(RES): gvimext_ming.rc clean: clean-custom -$(DEL) $(OBJ) $(RES) $(DLL) - -- cgit v1.2.1