From c62f986a37898b5ebd36bd8f184d9e8d969d7ab4 Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Mon, 30 Dec 2019 21:39:15 +0000 Subject: [PATCH] Simplify the compilation commands for config/vxworks.c 2019-12-30 Olivier Hainque * config/t-vxworks: Rework the vxworks.o compilation rules to use $(COMPILE). From-SVN: r279782 --- gcc/ChangeLog | 5 +++++ gcc/config/t-vxworks | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c9adffcb9c..7fc346394d9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-30 Olivier Hainque + + * config/t-vxworks: Rework the vxworks.o compilation + rules to use $(COMPILE). + 2019-12-30 Joel Brobecker * config.gcc <*-*-vxworks*>: Add vxworks-c.o to c_target_objs diff --git a/gcc/config/t-vxworks b/gcc/config/t-vxworks index 69b3a2e3199..ce30338ed13 100644 --- a/gcc/config/t-vxworks +++ b/gcc/config/t-vxworks @@ -16,9 +16,9 @@ # along with GCC; see the file COPYING3. If not see # . -vxworks.o: $(srcdir)/config/vxworks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ - $(TARGET_H) output.h $(TM_H) - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< +vxworks.o: $(srcdir)/config/vxworks.c + $(COMPILE) $< + $(POSTCOMPILE) vxworks-c.o: $(srcdir)/config/vxworks-c.c $(COMPILE) $< -- 2.30.2