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.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb
index 5745b2b50..40f2eb984 100644
--- a/src/ghdldrv/ghdllocal.adb
+++ b/src/ghdldrv/ghdllocal.adb
@@ -444,9 +444,11 @@ package body Ghdllocal is
when Lib_Standard =>
Add_Library_Name ("ieee");
when Lib_Synopsys =>
- Add_Library_Name ("synopsys");
+ Add_Library_Name ("ieee");
+ Flag_Synopsys := True;
when Lib_None =>
- null;
+ -- Allow synopsys packages.
+ Flag_Synopsys := True;
end case;
-- For std: just add the library prefix.