[前][次][番号順一覧][スレッド一覧]

ruby-changes:60686

From: Nobuyoshi <ko1@a...>
Date: Wed, 8 Apr 2020 12:30:51 +0900 (JST)
Subject: [ruby-changes:60686] 5ac4bf2cd8 (master): [win32] Moved `MSC_VER` to verconf.mk and reduce running CPP

https://git.ruby-lang.org/ruby.git/commit/?id=5ac4bf2cd8

From 5ac4bf2cd87e1eb5779ca5ae7f96a1a22e8436d9 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 8 Apr 2020 11:53:14 +0900
Subject: [win32] Moved `MSC_VER` to verconf.mk and reduce running CPP


diff --git a/win32/setup.mak b/win32/setup.mak
index d67b684..85ce834 100644
--- a/win32/setup.mak
+++ b/win32/setup.mak
@@ -132,9 +132,6 @@ int main(void) {return (EnumProcesses(NULL,0,NULL) ? 0 : 1);} https://github.com/ruby/ruby/blob/trunk/win32/setup.mak#L132
 <<
 
 -version-: nul verconf.mk
-	@$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(MAKEFILE)" | findstr "=" >>$(MAKEFILE)
-MSC_VER = _MSC_VER
-<<
 
 verconf.mk: nul
 	@$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(@)" > $(*F).bat && cmd /c $(*F).bat > $(@)
@@ -152,6 +149,7 @@ echo TEENY = RUBY_VERSION_TEENY https://github.com/ruby/ruby/blob/trunk/win32/setup.mak#L149
 #if defined RUBY_PATCHLEVEL && RUBY_PATCHLEVEL < 0
 echo RUBY_DEVEL = yes
 #endif
+echo MSC_VER = _MSC_VER
 del %0 & exit
 <<
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]