aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/ortho_front.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-07-15 06:29:49 +0200
committerTristan Gingold <tgingold@free.fr>2016-07-15 06:29:49 +0200
commit0eadd36bc47b08ad552d325c54f9e3a305c6838c (patch)
treef09e0bb416739fb71a11c4c877b4602a991ee903 /src/vhdl/translate/ortho_front.adb
parent3e04f0aadc73a45eeba46d4ee3bc5a533b8d4a47 (diff)
downloadghdl-0eadd36bc47b08ad552d325c54f9e3a305c6838c.tar.gz
ghdl-0eadd36bc47b08ad552d325c54f9e3a305c6838c.tar.bz2
ghdl-0eadd36bc47b08ad552d325c54f9e3a305c6838c.zip
ghdldrv: add --bootstrap-standard to simplify build.
Diffstat (limited to 'src/vhdl/translate/ortho_front.adb')
-rw-r--r--src/vhdl/translate/ortho_front.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/translate/ortho_front.adb b/src/vhdl/translate/ortho_front.adb
index 55f076659..46f303348 100644
--- a/src/vhdl/translate/ortho_front.adb
+++ b/src/vhdl/translate/ortho_front.adb
@@ -336,7 +336,9 @@ package body Ortho_Front is
raise Compilation_Error;
end if;
when Action_Compile_Std_Package =>
- if Filename /= null then
+ if Filename /= null
+ and then Filename.all /= "std_standard.vhdl"
+ then
Error_Msg_Option
("--compile-standard is not compatible with a filename");
return False;