Build.xs: Remove -mapcs-frame for A53F
authorSam Nelson <sam.nelson@ti.com>
Tue, 24 Oct 2017 14:43:51 +0000 (10:43 -0400)
committerSam Nelson <sam.nelson@ti.com>
Thu, 9 Aug 2018 20:01:32 +0000 (16:01 -0400)
This option is deprecated in gcc for A53F target

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

index 994134e3a1fa335d5c2020c582be4d4fa163fa6a..d6c6b5e193fa172c7c183d8a19beee145b675158 100644 (file)
@@ -699,8 +699,10 @@ function getDefaultCustomCCOpts()
     if (Build.libType == Build.LibType_Debug) {
         if (Program.build.target.$name.match(/gnu/)) {
             customCCOpts = customCCOpts.replace("-O3","");
     if (Build.libType == Build.LibType_Debug) {
         if (Program.build.target.$name.match(/gnu/)) {
             customCCOpts = customCCOpts.replace("-O3","");
-            /* add in stack frames for stack back trace */
-            customCCOpts += " -mapcs-frame ";
+            if (!Program.build.target.$name.match(/A53F/)) {
+                /* add in stack frames for stack back trace */
+                customCCOpts += " -mapcs-frame ";
+            }
         }
         else {
             customCCOpts = customCCOpts.replace(" -o3","");
         }
         else {
             customCCOpts = customCCOpts.replace(" -o3","");