Răsfoiți Sursa

Update target config after init macros

Rudy Ges 7 luni în urmă
părinte
comite
a750fc6289
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      src/compiler/compiler.ml

+ 1 - 0
src/compiler/compiler.ml

@@ -296,6 +296,7 @@ let do_type ctx mctx actx display_file_dot_path =
 		Some (MacroContext.call_init_macro ctx.com mctx path)
 	) mctx (List.rev actx.config_macros) in
 	enter_stage com CInitMacrosDone;
+	update_platform_config com; (* make sure to adapt all flags changes defined during init macros *)
 	ServerMessage.compiler_stage com;
 
 	let macros = match mctx with None -> None | Some mctx -> mctx.g.macros in