diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-20 07:22:59 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-20 07:52:43 +0100 |
commit | 65abd669b8cdeff955a5c4264c99a97110cd8a93 (patch) | |
tree | 2a08a4911f4d4b38c459950043947cedb14b370c /dist/gcc | |
parent | 7b3afe306288b6486ae76452af7ddb34f81ffcd2 (diff) | |
download | ghdl-65abd669b8cdeff955a5c4264c99a97110cd8a93.tar.gz ghdl-65abd669b8cdeff955a5c4264c99a97110cd8a93.tar.bz2 ghdl-65abd669b8cdeff955a5c4264c99a97110cd8a93.zip |
Makefile: fix build of ghdl_gcc with synth.
Diffstat (limited to 'dist/gcc')
-rw-r--r-- | dist/gcc/Make-lang.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dist/gcc/Make-lang.in b/dist/gcc/Make-lang.in index beb8bbab2..f6b0acd2a 100644 --- a/dist/gcc/Make-lang.in +++ b/dist/gcc/Make-lang.in @@ -110,11 +110,14 @@ vhdl/default_paths.ads: Makefile echo "end Default_Paths;" >> tmp-dpaths.ads $(srcdir)/../move-if-change tmp-dpaths.ads $@ +GHDL_GRT_OBJS=vhdl/grt-cstdio.o + # The driver for ghdl. Depends on ghdl1 to use object files in vhdl/ subdir. -ghdl$(exeext): ghdl1$(exeext) vhdl/default_paths.ads force +ghdl$(exeext): ghdl1$(exeext) $(GHDL_GRT_OBJS) vhdl/default_paths.ads force $(GNATMAKE) -o $@ -aI$(srcdir)/vhdl -aI$(srcdir)/vhdl/ghdldrv \ -aIvhdl -aOvhdl ghdl_gcc \ - -bargs -E -cargs $(ADA_CFLAGS) $(GHDL_ADAFLAGS) -largs $(LIBS) + -bargs -E -cargs $(ADA_CFLAGS) $(GHDL_ADAFLAGS) \ + -largs $(GHDL_GRT_OBJS) $(LIBS) # Build hooks: |