diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-01-06 00:37:59 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-05 22:40:58 -0800 |
commit | 4ecbc65fa7decb2aa271d68d54e8563a679e6ec1 (patch) | |
tree | ffa5308dedec49afb56d701ec51bc86bebb413b1 /Makefile | |
parent | bd757c18597789d4f01cbd2ffc7c1f55e90cfcd0 (diff) | |
download | git-4ecbc65fa7decb2aa271d68d54e8563a679e6ec1.tar.gz |
Makefile: make ppc/sha1ppc.o depend on GIT-CFLAGS
The %.o: %.S pattern rule should depend on GIT-CFLAGS to avoid
trouble when ALL_CFLAGS changes.
The pattern only applies to one file (ppc/sha1ppc.S) and that
file does not use any #ifdefs, so leaving the dependency out is
probably harmless. Nevertheless, it is safer to include the
dependency in case future code's behavior does depend on the
build flags.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1635,7 +1635,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 |