Mercurial > vim
comparison src/Make_cyg_ming.mak @ 23733:0660cb0a1cd8 v8.2.2408
patch 8.2.2408: MinGW: "--preprocessor" flag no longer supported
Commit: https://github.com/vim/vim/commit/5c829bf229de463657e4ba1de6c4ee91899de14e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 25 19:18:02 2021 +0100
patch 8.2.2408: MinGW: "--preprocessor" flag no longer supported
Problem: MinGW: "--preprocessor" flag no longer supported.
Solution: Remove the flag, use the defaults. (Christopher Wellons,
closes #7741)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Jan 2021 19:30:04 +0100 |
parents | a852e4e61887 |
children | 2e6cc2bf37d8 |
comparison
equal
deleted
inserted
replaced
23732:c47336ebd7cd | 23733:0660cb0a1cd8 |
---|---|
218 ifeq ($(UNDER_CYGWIN),yes) | 218 ifeq ($(UNDER_CYGWIN),yes) |
219 WINDRES := $(CROSS_COMPILE)windres | 219 WINDRES := $(CROSS_COMPILE)windres |
220 else | 220 else |
221 WINDRES := windres | 221 WINDRES := windres |
222 endif | 222 endif |
223 WINDRES_CC = $(CC) | |
224 | 223 |
225 # Get the default ARCH. | 224 # Get the default ARCH. |
226 ifndef ARCH | 225 ifndef ARCH |
227 ARCH := $(shell $(CC) -dumpmachine | sed -e 's/-.*//' -e 's/_/-/' -e 's/^mingw32$$/i686/') | 226 ARCH := $(shell $(CC) -dumpmachine | sed -e 's/-.*//' -e 's/_/-/' -e 's/^mingw32$$/i686/') |
228 endif | 227 endif |
512 #>>>>> end of choices | 511 #>>>>> end of choices |
513 ########################################################################### | 512 ########################################################################### |
514 | 513 |
515 CFLAGS = -I. -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall | 514 CFLAGS = -I. -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall |
516 CXXFLAGS = -std=gnu++11 | 515 CXXFLAGS = -std=gnu++11 |
517 WINDRES_FLAGS = --preprocessor="$(WINDRES_CC) -E -xc" -DRC_INVOKED | 516 # This used to have --preprocessor, but it's no longer supported |
517 WINDRES_FLAGS = | |
518 EXTRA_LIBS = | 518 EXTRA_LIBS = |
519 | 519 |
520 ifdef GETTEXT | 520 ifdef GETTEXT |
521 DEFINES += -DHAVE_GETTEXT -DHAVE_LOCALE_H | 521 DEFINES += -DHAVE_GETTEXT -DHAVE_LOCALE_H |
522 GETTEXTINCLUDE = $(GETTEXT)/include | 522 GETTEXTINCLUDE = $(GETTEXT)/include |