From 3e845f19e05b5048a0430a8ecd1b5dd6e36ab044 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 1 Apr 2009 06:12:23 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8e97b73f48..b524fd9949 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 1 15:12:21 2009 Nobuyoshi Nakada + + * 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 * thread.c (rb_thread_fd_select): new function to call select diff --git a/Makefile.in b/Makefile.in index 766b1124d6..1de779a3b8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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