aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-04-20 18:17:34 +0200
committerTristan Gingold <tgingold@free.fr>2023-04-20 18:17:34 +0200
commitaff11ca0c49a8c0c6917bace81976a92ff7dc6b9 (patch)
tree77d2c6cd0217bceda59df45a78082ced431e0fd8 /src/ghdldrv
parentcefc7ebafa0869dc9f67c675969e36a4041643c8 (diff)
downloadghdl-aff11ca0c49a8c0c6917bace81976a92ff7dc6b9.tar.gz
ghdl-aff11ca0c49a8c0c6917bace81976a92ff7dc6b9.tar.bz2
ghdl-aff11ca0c49a8c0c6917bace81976a92ff7dc6b9.zip
ghdlcomp: set Flag_Elaboration for -c/-r
So that component instantiations are bound even if outdated.
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlcomp.adb1
1 files changed, 1 insertions, 0 deletions
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;