sdk/Build System: Took out extra inclusion of LDFLAGS; Moved $(CPPFLAGS) and -D_DEBUG...
[sdk] / ide / src / project / ProjectNode.ec
index 6634f11..35d498c 100755 (executable)
@@ -2127,7 +2127,8 @@ private:
                if(!isGreater)
                {
                   // absolutely common stuff outside of platform only, stuff that can't be changed by platform
-                  cflags.concatf(" \\\n\t $(if $(DEBIAN_PACKAGE),$(CPPFLAGS),) $(if $(DEBUG), -D_DEBUG,)");
+                 // This would normally go in crossplatform.mk (or compiler.cf if compiler-specific)
+                  // cflags.concatf(" \\\n\t $(if $(DEBIAN_PACKAGE),$(CPPFLAGS),) $(if $(DEBUG), -D_DEBUG,)");
                }
 
                for(platform = (Platform)1; platform < Platform::enumSize; platform++)
@@ -2306,7 +2307,7 @@ static ProjectOptions BlendFileConfigPlatformProjectOptions(ProjectNode node, Pr
                for(s : strings)
                {
                   bool found = false;
-                  char priorityMark[3];
+                  char priorityMark[10];
                   order++;
                   if(priority)
                      sprintf(priorityMark, "%04d\n", priority * 100 + order);