diff options
author | Martin Bahlinger <martin.bahlinger@leica-geosystems.com> | 2021-04-19 13:41:18 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-04-20 18:58:15 +0200 |
commit | 092025882ea6c3e4861277b175fa95e7825e756c (patch) | |
tree | 2603a6039eeb4b18961554b93d5565d0427eba44 /scripts/vendors/compile-lattice.ps1 | |
parent | d003498ad7c233826773cc17ffe75fd7ced2f945 (diff) | |
download | ghdl-092025882ea6c3e4861277b175fa95e7825e756c.tar.gz ghdl-092025882ea6c3e4861277b175fa95e7825e756c.tar.bz2 ghdl-092025882ea6c3e4861277b175fa95e7825e756c.zip |
Move --std= parameter before -frelaxed-rules
This is required for script to work also with ghdl > 0.37 and --std=08
Diffstat (limited to 'scripts/vendors/compile-lattice.ps1')
-rw-r--r-- | scripts/vendors/compile-lattice.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vendors/compile-lattice.ps1 b/scripts/vendors/compile-lattice.ps1 index ef8d1b59a..873af8880 100644 --- a/scripts/vendors/compile-lattice.ps1 +++ b/scripts/vendors/compile-lattice.ps1 @@ -178,6 +178,7 @@ $VHDLVersion,$VHDLStandard,$VHDLFlavor = Get-VHDLVariables $VHDL93 $VHDL2008 # define global GHDL Options $Analyze_Parameters = @( + "--std=$VHDLStandard", "-fexplicit", "-frelaxed-rules", "--mb-comments", @@ -198,7 +199,6 @@ if (-not ($EnableVerbose -or $EnableDebug)) $Analyze_Parameters += @( "--ieee=$VHDLFlavor", "--no-vital-checks", - "--std=$VHDLStandard", "-P$DestinationDirectory" ) |