diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-05-23 12:35:09 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-05-23 13:16:48 +0900 |
| commit | ce20367a0e2f1fcfabebf3b6bea732fc71fa79f7 (patch) | |
| tree | 5ecf59010bff4a6a4e5ba62b89138c72e2ace4f3 | |
| parent | 5fa6ba9568e87e43e08a4daeba1572254c589fb1 (diff) | |
Define `incflags` also on mswin
| -rw-r--r-- | win32/Makefile.sub | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
