Use $(SHELL) to run move-if-change.
This commit is contained in:
parent
89fef8a2c6
commit
441c2cf2f8
|
@ -1804,7 +1804,7 @@ gcc-cross$(exeext): xgcc$(exeext)
|
|||
|
||||
checksum-options:
|
||||
echo "$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS)" > checksum-options.tmp \
|
||||
&& $(srcdir)/../move-if-change checksum-options.tmp checksum-options
|
||||
&& $(SHELL) $(srcdir)/../move-if-change checksum-options.tmp checksum-options
|
||||
|
||||
#
|
||||
# Build libgcc.a.
|
||||
|
|
|
@ -70,7 +70,7 @@ cc1-checksum.c : build/genchecksum$(build_exeext) checksum-options \
|
|||
$(C_OBJS) $(BACKEND) $(LIBDEPS)
|
||||
build/genchecksum$(build_exeext) $(C_OBJS) $(BACKEND) $(LIBDEPS) \
|
||||
checksum-options > cc1-checksum.c.tmp && \
|
||||
$(srcdir)/../move-if-change cc1-checksum.c.tmp cc1-checksum.c
|
||||
$(SHELL) $(srcdir)/../move-if-change cc1-checksum.c.tmp cc1-checksum.c
|
||||
|
||||
cc1-checksum.o : cc1-checksum.c $(CONFIG_H) $(SYSTEM_H)
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ cc1plus-checksum.c : build/genchecksum$(build_exeext) checksum-options \
|
|||
$(CXX_OBJS) $(BACKEND) $(LIBDEPS)
|
||||
build/genchecksum$(build_exeext) $(CXX_OBJS) $(BACKEND) $(LIBDEPS) \
|
||||
checksum-options > cc1plus-checksum.c.tmp && \
|
||||
$(srcdir)/../move-if-change cc1plus-checksum.c.tmp cc1plus-checksum.c
|
||||
$(SHELL) $(srcdir)/../move-if-change cc1plus-checksum.c.tmp cc1plus-checksum.c
|
||||
|
||||
cc1plus-checksum.o : cc1plus-checksum.c $(CONFIG_H) $(SYSTEM_H)
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ cc1obj-checksum.c : build/genchecksum$(build_exeext) checksum-options \
|
|||
$(OBJC_OBJS) $(C_AND_OBJC_OBJS) $(BACKEND) $(LIBDEPS)
|
||||
build/genchecksum$(build_exeext) $(OBJC_OBJS) $(C_AND_OBJC_OBJS) \
|
||||
$(BACKEND) $(LIBDEPS) checksum-options > cc1obj-checksum.c.tmp && \
|
||||
$(srcdir)/../move-if-change cc1obj-checksum.c.tmp cc1obj-checksum.c
|
||||
$(SHELL) $(srcdir)/../move-if-change cc1obj-checksum.c.tmp cc1obj-checksum.c
|
||||
|
||||
cc1obj-checksum.o : cc1obj-checksum.c $(CONFIG_H) $(SYSTEM_H)
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ cc1objplus-checksum.c : build/genchecksum$(build_exeext) checksum-options \
|
|||
$(OBJCXX_OBJS) $(BACKEND) $(LIBDEPS)
|
||||
build/genchecksum$(build_exeext) $(OBJCXX_OBJS) $(BACKEND) \
|
||||
$(LIBDEPS) checksum-options > cc1objplus-checksum.c.tmp && \
|
||||
$(srcdir)/../move-if-change cc1objplus-checksum.c.tmp \
|
||||
$(SHELL) $(srcdir)/../move-if-change cc1objplus-checksum.c.tmp \
|
||||
cc1objplus-checksum.c
|
||||
|
||||
cc1objplus-checksum.o : cc1objplus-checksum.c $(CONFIG_H) $(SYSTEM_H)
|
||||
|
|
|
@ -1010,7 +1010,7 @@ install-unwind_h-forbuild:
|
|||
dest=$(gcc_objdir)/include/tmp$$$$-unwind.h; \
|
||||
cp unwind.h $$dest; \
|
||||
chmod a+r $$dest; \
|
||||
sh $(srcdir)/../move-if-change $$dest $(gcc_objdir)/include/unwind.h
|
||||
$(SHELL) $(srcdir)/../move-if-change $$dest $(gcc_objdir)/include/unwind.h
|
||||
|
||||
# Copy unwind.h to the place where gcc will look at run-time, once installed
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue