From ce20367a0e2f1fcfabebf3b6bea732fc71fa79f7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 23 May 2024 12:35:09 +0900 Subject: Define `incflags` also on mswin --- win32/Makefile.sub | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 7dbb020eee..61cca10857 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -160,6 +160,9 @@ OPTFLAGS = -O2b2xg- OPTFLAGS = -O2sy- !endif !endif +!if !defined(incflags) +incflags = +!endif !if !defined(PLATFORM) PLATFORM = mswin32 !endif @@ -970,6 +973,7 @@ s,@WERRORFLAG@,$(WERRORFLAG),;t t s,@DEFS@,$(DEFS),;t t s,@CPPFLAGS@,$(CPPFLAGS),;t t s,@CXXFLAGS@,$(CXXFLAGS),;t t +s,@incflags@,$(incflags),;t t s,@FFLAGS@,$(FFLAGS),;t t s,@LDFLAGS@,$(LDFLAGS),;t t s,@LIBS@,user32.lib,;t t -- cgit v1.2.3