lang-specs.h: Ensure -mrtp switch is passed when using either rtp-smp or ravenscar...
authorNicolas Roche <roche@adacore.com>
Sat, 15 Oct 2011 09:24:32 +0000 (09:24 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Sat, 15 Oct 2011 09:24:32 +0000 (11:24 +0200)
2011-10-15  Nicolas Roche  <roche@adacore.com>

* gcc-interface/lang-specs.h: Ensure -mrtp switch is passed when using
either rtp-smp or ravenscar-cert-rtp runtimes.

From-SVN: r180026

gcc/ada/ChangeLog
gcc/ada/gcc-interface/lang-specs.h

index 891ac96fcd4bb4b865d1d1ab409f73ccdbc59620..ac9e221c6380a63d07a67443d108d9e066a94587 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-15  Nicolas Roche  <roche@adacore.com>
+
+       * gcc-interface/lang-specs.h: Ensure -mrtp switch is passed when using
+       either rtp-smp or ravenscar-cert-rtp runtimes.
+
 2011-10-15  Bob Duff  <duff@adacore.com>
 
        * exp_ch6.adb (Add_Unconstrained_Actuals_To_Build_In_Place_Call):
index ff3de85b9866f832243558b987250078273b16f4..9657a6e5767353b35adac9eb1b09999067532769 100644 (file)
@@ -40,7 +40,7 @@
     %{coverage:-fprofile-arcs -ftest-coverage} "
    "%{gnatea:-gnatez} %{g*&m*} "
 #if defined(TARGET_VXWORKS_RTP)
-   "%{fRTS=rtp:-mrtp} "
+   "%{fRTS=rtp:-mrtp} %{fRTS=rtp-smp:-mrtp} %{fRTS=ravenscar-cert-rtp:-mrtp}"
 #endif
    "%1 %{!S:%{o*:%w%*-gnatO}} \
     %i %{S:%W{o*}%{!o*:-o %b.s}} \