aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-07-21 15:57:04 +0200
committerTristan Gingold <tgingold@free.fr>2018-07-21 15:57:04 +0200
commit109536797e645dc50f568aa6813b1d6cd5f75edc (patch)
tree0f3c552eb5412873172835a8e5ee10f20e863569 /src/ghdldrv
parent6a24c6d16f0e53f8057c47664be1563dd51a73a6 (diff)
downloadghdl-109536797e645dc50f568aa6813b1d6cd5f75edc.tar.gz
ghdl-109536797e645dc50f568aa6813b1d6cd5f75edc.tar.bz2
ghdl-109536797e645dc50f568aa6813b1d6cd5f75edc.zip
Also set -fX and --std to GHDLFLAGS for --gen-makefile
Fix #624
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlcomp.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlcomp.adb b/src/ghdldrv/ghdlcomp.adb
index 5c9d5fe25..e9a0338a9 100644
--- a/src/ghdldrv/ghdlcomp.adb
+++ b/src/ghdldrv/ghdlcomp.adb
@@ -785,6 +785,8 @@ package body Ghdlcomp is
or else (Arg'Length > 6 and then Arg (1 .. 6) = "--std=")
or else (Arg'Length > 7 and then Arg (1 .. 7) = "--work=")
or else (Arg'Length > 2 and then Arg (1 .. 2) = "-P")
+ or else (Arg'Length > 2 and then Arg (1 .. 2) = "-f")
+ or else (Arg'Length > 6 and then Arg (1 .. 6) = "--std=")
then
Put (" ");
Put (Arg);