RTEMS/Ada: Define EH_MECHANISM
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Tue, 5 Dec 2017 10:46:42 +0000 (10:46 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Tue, 5 Dec 2017 10:46:42 +0000 (10:46 +0000)
commitab92e6e6a5f5cdd3a28d54c4626f1efb8218f561
treeebb215e6bb71bc82ff2aca09e6b090981246ab08
parentbf2f5c8979022da8fc521e5e7e488e77478194f2
RTEMS/Ada: Define EH_MECHANISM

Without this definition I got the following error:

<...>/xgcc <...>  -c -g -O2   -W -Wall -gnatpg -nostdinc  -g -fno-inline \
      -fno-toplevel-reorder -O1  a-except.adb -o a-except.o
a-exexpr.adb:38:06: "System.Exceptions.Machine" is not a predefined library unit
a-exexpr.adb:38:06: "Ada.Exceptions (body)" depends on "Ada.Exceptions.Exception_Propagation (body)"
a-exexpr.adb:38:06: "Ada.Exceptions.Exception_Propagation (body)" depends on "System.Exceptions.Machine (spec)"
../gcc-interface/Makefile:2661: recipe for target 'a-except.o' failed

gcc/ada

* gcc-interface/Makefile.in (RTEMS): Define EH_MECHANISM.

From-SVN: r255408
gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in