aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/vendors/compile-altera.ps1
diff options
context:
space:
mode:
authorMartin Bahlinger <martin.bahlinger@leica-geosystems.com>2021-04-19 13:41:18 +0200
committertgingold <tgingold@users.noreply.github.com>2021-04-20 18:58:15 +0200
commit092025882ea6c3e4861277b175fa95e7825e756c (patch)
tree2603a6039eeb4b18961554b93d5565d0427eba44 /scripts/vendors/compile-altera.ps1
parentd003498ad7c233826773cc17ffe75fd7ced2f945 (diff)
downloadghdl-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-altera.ps1')
-rw-r--r--scripts/vendors/compile-altera.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vendors/compile-altera.ps1 b/scripts/vendors/compile-altera.ps1
index 76f47b1c4..2ca3116fc 100644
--- a/scripts/vendors/compile-altera.ps1
+++ b/scripts/vendors/compile-altera.ps1
@@ -151,6 +151,7 @@ $VHDLVersion,$VHDLStandard,$VHDLFlavor = Get-VHDLVariables $VHDL93 $VHDL2008
# define global GHDL Options
$Analyze_Parameters = @(
+ "--std=$VHDLStandard",
"-fexplicit",
"-frelaxed-rules",
"--mb-comments",
@@ -171,7 +172,6 @@ if (-not ($EnableVerbose -or $EnableDebug))
$Analyze_Parameters += @(
"--ieee=$VHDLFlavor",
"--no-vital-checks",
- "--std=$VHDLStandard",
"-P$DestinationDirectory"
)