aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-08-30 07:49:36 +0200
committerTristan Gingold <tgingold@free.fr>2019-08-30 18:42:05 +0200
commit3c81c6f8fb41058e505c61db0f7d566ffebe2357 (patch)
treee9d38bf6e64c43b1aa132ffd6e7c18ec43aef1e7 /src/ghdldrv
parentf232983f1ec699d1c5c84045614c3a4d30098f9a (diff)
downloadghdl-3c81c6f8fb41058e505c61db0f7d566ffebe2357.tar.gz
ghdl-3c81c6f8fb41058e505c61db0f7d566ffebe2357.tar.bz2
ghdl-3c81c6f8fb41058e505c61db0f7d566ffebe2357.zip
synth: add support for --synth on llvm, link with -lm.
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdl_llvm.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdl_llvm.adb b/src/ghdldrv/ghdl_llvm.adb
index c170c4b56..f18741bd6 100644
--- a/src/ghdldrv/ghdl_llvm.adb
+++ b/src/ghdldrv/ghdl_llvm.adb
@@ -21,6 +21,7 @@ with Ghdlprint;
with Ghdldrv;
with Ghdlvpi;
with Ghdlxml;
+with Ghdlsynth_Maybe;
procedure Ghdl_Llvm is
begin
@@ -29,6 +30,7 @@ begin
Ghdlmain.Version_String := new String'("llvm code generator");
Ghdldrv.Backend := Ghdldrv.Backend_Llvm;
Ghdldrv.Register_Commands;
+ Ghdlsynth_Maybe.Register_Commands;
Ghdllocal.Register_Commands;
Ghdlprint.Register_Commands;
Ghdlvpi.Register_Commands;