1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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> Wed Apr 1 13:46:20 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* thread.c (rb_thread_fd_select): new function to call select * 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 $< $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -S $<
.c.i: .c.i:
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -E $< > $@ $(CPP) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -E $< > $@
clean-local:: clean-local::
@$(RM) ext/extinit.c ext/extinit.$(OBJEXT) ext/ripper/y.output @$(RM) ext/extinit.c ext/extinit.$(OBJEXT) ext/ripper/y.output