diff options
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: |