From aff11ca0c49a8c0c6917bace81976a92ff7dc6b9 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 20 Apr 2023 18:17:34 +0200 Subject: ghdlcomp: set Flag_Elaboration for -c/-r So that component instantiations are bound even if outdated. --- src/ghdldrv/ghdlcomp.adb | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ghdldrv/ghdlcomp.adb b/src/ghdldrv/ghdlcomp.adb index d5d77360e..a57b0f108 100644 --- a/src/ghdldrv/ghdlcomp.adb +++ b/src/ghdldrv/ghdlcomp.adb @@ -202,6 +202,7 @@ package body Ghdlcomp is begin Hooks.Compile_Init.all (False); + Flags.Flag_Elaborate := True; Flags.Flag_Elaborate_With_Outdated := True; Flags.Flag_Only_Elab_Warnings := False; -- cgit v1.2.3