]> gcc.gnu.org Git - gcc.git/commit - gcc/config.gcc
RTEMS: Fix -Werror builds
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Tue, 9 Mar 2021 18:32:26 +0000 (19:32 +0100)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Tue, 9 Mar 2021 18:44:06 +0000 (19:44 +0100)
commit0455cd76b687621f28488393c81d0854200a220a
treea5c72c98248de20950a3dc1f8f6c9f9dfd13c0b9
parentb610c30453d8e4cc88693d85a5a100d089640be5
RTEMS: Fix -Werror builds

Fix build errors due to warnings such as:

gcc/config/v850/rtems.h:43: error: "RTEMS_STARTFILE_SPEC" redefined [-Werror]
   43 | #define RTEMS_STARTFILE_SPEC ""

The problem was that "gcc/config/rtems.h" was included before the
architecture-specific "gcc/config/*/rtems.h" header file on some
architectures.

gcc/

* config.gcc (aarch64-*-rtems*): Include general rtems.h after
the architecture-specific rtems.h.
(aarch64-*-rtems*): Likewise.
(arm*-*-rtems*): Likewise.
(epiphany-*-rtems*): Likewise.
(riscv*-*-rtems*): Likewise.
gcc/config.gcc
This page took 0.05406 seconds and 5 git commands to generate.