2011-10-15 Nicolas Roche <roche@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Oct 2011 09:24:32 +0000 (09:24 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Oct 2011 09:24:32 +0000 (09:24 +0000)
* gcc-interface/lang-specs.h: Ensure -mrtp switch is passed when using
either rtp-smp or ravenscar-cert-rtp runtimes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180026 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 891ac96..ac9e221 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 ff3de85..9657a6e 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}} \