[patch] Simplify the compilation commands for config/vxworks.c

Olivier Hainque hainque@adacore.com
Fri Dec 13 16:19:00 GMT 2019


The patch by Joel setting up TARGET_C_PREINCLUDE exposed a possibility
to simplify/robustify the compilation commands use for another source in
the t-vxworks Makefile fragment.

We now leverage $(COMPILE) and $(POSTCOMPILE) instead of replicating
them manually for vxworks.c.

Tested in accordance with the description in
https://gcc.gnu.org/ml/gcc-patches/2019-12/msg00911.html

Committing to mainline.

Olivier

2019-12-13  Olivier Hainque  <hainque@adacore.com>

    	* config/t-vxworks: Rework the vxworks.o compilation
    	rules to use $(COMPILE).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0012-Simplify-the-compilation-commands-for-config-vxworks.patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191213/2fdd4a0d/attachment.txt>


More information about the Gcc-patches mailing list