Project

General

Profile

Feature #3943 ยป 0001-backport-rc32776-llvm-gcc-build-to-ruby_1_9_2.patch

jonforums (Jon Forums), 10/18/2010 12:41 AM

View differences:

Makefile.in
11 11
hdrdir = $(srcdir)/include
12 12

  
13 13
CC = @CC@
14
CPP = @CPP@
14 15
YACC = bison
15 16
PURIFY =
16 17
AUTOCONF = autoconf
cygwin/GNUmakefile.in
2 2
-include uncommon.mk
3 3

  
4 4
ENABLE_SHARED=@ENABLE_SHARED@
5
DLLWRAP = @DLLWRAP@ --target=@target_os@
5
DLLWRAP = @DLLWRAP@ --target=@target_os@ --driver-name="$(CC)"
6
WINDRES = @WINDRES@ --preprocessor="$(CPP) -xc" -DRC_INVOKED
6 7

  
7 8
ifeq (@target_os@,cygwin)
8 9
  DLL_BASE_NAME := $(LIBRUBY_SO:.dll=)
......
38 39
$(RUBY_EXP) $(LIBRUBY_SO): $(DLL_BASE_NAME).res.@OBJEXT@
39 40

  
40 41
%.res.@OBJEXT@: %.rc
41
	@WINDRES@ --include-dir . --include-dir $(<D) --include-dir $(srcdir)/win32 $< $@
42
	$(WINDRES) --include-dir . --include-dir $(<D) --include-dir $(srcdir)/win32 $< $@
42 43

  
43 44
$(RCFILES): $(RBCONFIG)
44 45
	@$(MINIRUBY) $(srcdir)/win32/resource.rb \