Build.xs: Update GCC compile option mapcs-frame
authorSam Nelson <sam.nelson@ti.com>
Wed, 4 Oct 2017 23:59:46 +0000 (19:59 -0400)
committerSam Nelson <sam.nelson@ti.com>
Thu, 9 Aug 2018 20:01:32 +0000 (16:01 -0400)
mapcs is deprecated with new version of gcc tools but identical to
mapcs-frame

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
packages/ti/sdo/ipc/Build.xs

index 64a9428fc9ec56618dee5cbe473d5cc585badfda..994134e3a1fa335d5c2020c582be4d4fa163fa6a 100644 (file)
@@ -700,7 +700,7 @@ function getDefaultCustomCCOpts()
         if (Program.build.target.$name.match(/gnu/)) {
             customCCOpts = customCCOpts.replace("-O3","");
             /* add in stack frames for stack back trace */
-            customCCOpts += " -mapcs ";
+            customCCOpts += " -mapcs-frame ";
         }
         else {
             customCCOpts = customCCOpts.replace(" -o3","");