From 109536797e645dc50f568aa6813b1d6cd5f75edc Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 21 Jul 2018 15:57:04 +0200 Subject: Also set -fX and --std to GHDLFLAGS for --gen-makefile Fix #624 --- src/ghdldrv/ghdlcomp.adb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ghdldrv') 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); -- cgit v1.2.3