* Makefile.in (.c.i): use CPP instead of CC, since gcc -E can't

work with multiple -arch options.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-04-01 06:12:23 +00:00
parent d98da36b8c
commit 3e845f19e0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Apr 1 15:12:21 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in (.c.i): use CPP instead of CC, since gcc -E can'
work with multiple -arch options.
Wed Apr 1 13:46:20 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* thread.c (rb_thread_fd_select): new function to call select

View File

@ -216,7 +216,7 @@ lex.c: defs/keywords
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -S $<
.c.i:
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -E $< > $@
$(CPP) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -E $< > $@
clean-local::
@$(RM) ext/extinit.c ext/extinit.$(OBJEXT) ext/ripper/y.output