From 0eadd36bc47b08ad552d325c54f9e3a305c6838c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 15 Jul 2016 06:29:49 +0200 Subject: ghdldrv: add --bootstrap-standard to simplify build. --- src/vhdl/translate/ortho_front.adb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/vhdl') 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; -- cgit v1.2.3