summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-07-13 12:20:05 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-07-13 12:20:05 +0200
commit5ff3a1c21ae7fef409a3708c89c59d8db35ec9b0 (patch)
tree952d4c61d24618ccb4efdb6244902003e40e6e1b /templates
parent7d729005f9275524c1a5881a8690de57f47b3b36 (diff)
downloadMPC-5ff3a1c21ae7fef409a3708c89c59d8db35ec9b0.tar.gz
Don't use -O1 with bcc32c, it leas to crashes with TAO and stack unwinding
* templates/bmake.mpd:
Diffstat (limited to 'templates')
-rw-r--r--templates/bmake.mpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/bmake.mpd b/templates/bmake.mpd
index 9491dee9..287e08f8 100644
--- a/templates/bmake.mpd
+++ b/templates/bmake.mpd
@@ -9,7 +9,7 @@
<%foreach(configurations)%>
!ifdef <%normalize(uc(configuration))%>
OCFLAGS32 = <%if(optimize)%>-O1<%else%><%if(debug_prj)%>-v -y -Od -vi- -k<%foreach(debug_macros)%> -D<%debug_macro%><%endfor%><%endif%><%endif%><%foreach(defines)%> -D<%define%><%endfor%>
-OCFLAGS32C = <%if(optimize)%>-O1<%else%><%if(debug_prj)%>-Od -vi- <%foreach(debug_macros)%> -D<%debug_macro%><%endfor%><%endif%><%endif%><%foreach(defines)%> -D<%define%><%endfor%>
+OCFLAGS32C = <%if(optimize)%><%else%><%if(debug_prj)%>-Od -vi- <%foreach(debug_macros)%> -D<%debug_macro%><%endfor%><%endif%><%endif%><%foreach(defines)%> -D<%define%><%endfor%>
OCFLAGS64 = <%if(optimize)%>-O3<%else%><%if(debug_prj)%>-g -O0 <%foreach(debug_macros)%> -D<%debug_macro%><%endfor%><%endif%><%endif%><%foreach(defines)%> -D<%define%><%endfor%>
CFG_DIR = <%intermediate_dir%>\\
LIBMODIFIER = <%if(use_lib_modifier)%><%lib_modifier%><%endif%>