aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdllocal.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdllocal.adb')
-rw-r--r--src/ghdldrv/ghdllocal.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb
index 756589602..e7e8f5261 100644
--- a/src/ghdldrv/ghdllocal.adb
+++ b/src/ghdldrv/ghdllocal.adb
@@ -1044,6 +1044,9 @@ package body Ghdllocal is
is
Error : Boolean;
begin
+ -- Allow syntax checking with simply imported dependencies.
+ Flags.Flag_Elaborate_With_Outdated := True;
+
Analyze_Files (Args, False, Error);
if Error xor Cmd.Flag_Expect_Failure then
raise Errorout.Compilation_Error;