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

ruby-changes:37316

From: nobu <ko1@a...>
Date: Sun, 25 Jan 2015 00:42:41 +0900 (JST)
Subject: [ruby-changes:37316] nobu:r49397 (trunk): libffi: workaround of VC12 ml

nobu	2015-01-25 00:42:27 +0900 (Sun, 25 Jan 2015)

  New Revision: 49397

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49397

  Log:
    libffi: workaround of VC12 ml
    
    * ext/fiddle/win32/libffi.mk.tmpl: assemble without directory prefix.
      workaround of a bug of VC12 ml, by unak at [ruby-core:67792].
      [ruby-core:67789] [Bug #10780]

  Modified files:
    trunk/ChangeLog
    trunk/ext/fiddle/win32/libffi.mk.tmpl
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49396)
+++ ChangeLog	(revision 49397)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Jan 25 00:42:24 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/fiddle/win32/libffi.mk.tmpl: assemble without directory prefix.
+	  workaround of a bug of VC12 ml, by unak at [ruby-core:67792].
+	  [ruby-core:67789] [Bug #10780]
+
 Sat Jan 24 19:56:25 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* dln_find.c (dln_find_1): search regular files only.  based on
Index: ext/fiddle/win32/libffi.mk.tmpl
===================================================================
--- ext/fiddle/win32/libffi.mk.tmpl	(revision 49396)
+++ ext/fiddle/win32/libffi.mk.tmpl	(revision 49397)
@@ -72,7 +72,7 @@ all: $(WORKDIR) $(STATICLIB) https://github.com/ruby/ruby/blob/trunk/ext/fiddle/win32/libffi.mk.tmpl#L72
 	$(CPP) $(CFLAGS) $(INCLUDES) $(<:\=/) >$(@:\=/)
 
 {$(BUILDDIR)/x86}.asm{$(BUILDDIR)/x86}.$(OBJEXT):
-	$(AS) -c $(ASFLAGS) -Fo $(@:\=/) $(<:\=/)
+	cd $(@D) && $(AS) -c $(ASFLAGS) -Fo $(@F) $(<F)
 
 $(BUILDDIR)/x86/$(OSSRC).asm: $(SRCDIR)/x86/$(OSSRC).S
 

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

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