Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 6236d2d7f970d2f0aab19a3afeb3049f888aa6fc 1 parent cafe558
@rurban rurban authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/gen/makefiles/root.in
View
2  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 $<
Please sign in to comment.
Something went wrong with that request. Please try again.