From 835a5edf52c2ffd321678aba45264f6be42fcd35 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 16 Oct 2010 01:55:01 +0000 Subject: * Makefile.in (CPP): already used in .c.i rule. * cygwin/GNUmakefile.in (DLLWRAP, WINDRES): add --driver-name and --preprocessor options explicitly. [ruby-core:32776] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- cygwin/GNUmakefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cygwin/GNUmakefile.in') diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in index ea530a33fc..025f460c9c 100644 --- a/cygwin/GNUmakefile.in +++ b/cygwin/GNUmakefile.in @@ -2,7 +2,8 @@ include Makefile -include uncommon.mk ENABLE_SHARED=@ENABLE_SHARED@ -DLLWRAP = @DLLWRAP@ --target=@target_os@ +DLLWRAP = @DLLWRAP@ --target=@target_os@ --driver-name="$(CC)" +WINDRES = @WINDRES@ --preprocessor="$(CPP) -xc" -DRC_INVOKED ifeq (@target_os@,cygwin) DLL_BASE_NAME := $(LIBRUBY_SO:.dll=) @@ -38,7 +39,7 @@ $(LIBRUBY): $(RUBY_EXP) $(LIBRUBY_SO) $(RUBY_EXP) $(LIBRUBY_SO): $(DLL_BASE_NAME).res.@OBJEXT@ %.res.@OBJEXT@: %.rc - @WINDRES@ --include-dir . --include-dir $(