aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dist/gcc/Make-lang.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/gcc/Make-lang.in b/dist/gcc/Make-lang.in
index e8c078ef6..8aa15e922 100644
--- a/dist/gcc/Make-lang.in
+++ b/dist/gcc/Make-lang.in
@@ -124,8 +124,8 @@ ghdl$(exeext): ghdl1$(exeext) vhdl/default_pathes.ads force
-bargs -E -cargs $(ADA_CFLAGS) $(GHDL_ADAFLAGS) -largs $(LIBS)
if test $@ -nt s-ghdllib; then $(RM) -f s-ghdllib; fi
-# Ghdl libraries.
-s-ghdllib: ghdl$(exeext) ghdl1$(exeext)
+# Ghdl libraries. Also depends on xgcc to build std_standard.o
+s-ghdllib: ghdl$(exeext) ghdl1$(exeext) $(GCC_PASSES)
$(MAKE_IN_VHDL) ghdllib
touch $@