[PATCH 2/4] Makefile: make ppc/sha1ppc.o depend on GIT-CFLAGS
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 28, 2009, 11:33 UTC
- Message-ID
- <20091128113323.GC10059@progeny.tock>
- In-Reply-To
- <20091128112546.GA10059@progeny.tock>
Any rule that makes use of ALL_CFLAGS should depend on GIT-CFLAGS to avoid trouble. This one would not actually be affected by any build flags except the optimization level, so leaving the dependency out was mostly harmless.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile index dc7c929..bb3879e 100644 --- a/Makefile +++ b/Makefile @@ -1526,7 +1526,7 @@ git.o git.spec \ $(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) $< %.s: %.c GIT-CFLAGS $(QUIET_CC)$(CC) -S $(ALL_CFLAGS) $< -%.o: %.S +%.o: %.S GIT-CFLAGS $(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) $< exec_cmd.o: exec_cmd.c GIT-CFLAGS
-- 1.6.5.3