From 5ff3a1c21ae7fef409a3708c89c59d8db35ec9b0 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 13 Jul 2021 12:20:05 +0200 Subject: Don't use -O1 with bcc32c, it leas to crashes with TAO and stack unwinding * templates/bmake.mpd: --- templates/bmake.mpd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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%> -- cgit v1.2.1