Permalink
Browse files

[cage] Fix .c.i rule for solaris cc

With solaris cc -c overrides -E.
cc: Warning: "-c" redefines goal from "preprocessed source (file)" to "object file"
  • Loading branch information...
1 parent cafe558 commit 6236d2d7f970d2f0aab19a3afeb3049f888aa6fc Reini Urban committed Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/gen/makefiles/root.in
@@ -596,7 +596,7 @@ MAKE_C = @make_c@
.c$(O) : # suffix rule (limited support)
$(CC) $(CFLAGS) @optimize@ $(CC_WARN) -I$(@D) -Isrc/ @cc_o_out@$@ -c $<
.c.i : # suffix rule (limited support)
- $(CC) -E $(CFLAGS) -I$(@D) -Isrc/ @cc_o_out@$@ -c $<
+ $(CC) -E $(CFLAGS) -I$(@D) -Isrc/ @cc_o_out@$@ $<
#UNLESS(win32):.s$(O) : # suffix rule (limited support)
#UNLESS(win32): $(CC) $(CFLAGS) @optimize@ $(CC_WARN) -I$(@D) @cc_o_out@$@ -c $<

0 comments on commit 6236d2d

Please sign in to comment.