From 32ce80330998505a7dc7d5c61a4133ebb50ef939 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 20 Feb 2017 18:38:33 +0100 Subject: gcc/Make-lang.in: Avoid pwd --- dist/gcc/Make-lang.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dist') diff --git a/dist/gcc/Make-lang.in b/dist/gcc/Make-lang.in index 7e2b66bb5..690c834b7 100644 --- a/dist/gcc/Make-lang.in +++ b/dist/gcc/Make-lang.in @@ -57,14 +57,12 @@ GHDL1_OBJS = attribs.o vhdl/ortho-lang.o # before. vhdl_OBJS=vhdl/ortho-lang.o -vhdl_srcdir := $(shell cd $(srcdir)/vhdl; pwd) - # The compiler proper. # It is compiled into the vhdl/ subdirectory to avoid file name clashes but # linked in in gcc directory to be able to access to gcc object files. ghdl1$(exeext): force $(GHDL1_OBJS) $(BACKEND) $(LIBDEPS) # Create object file in vhdl/subdir - cd vhdl; $(GNATMAKE) -c -aI$(vhdl_srcdir) ortho_gcc-main \ + $(GNATMAKE) -c -aI$(srcdir)/vhdl --subdirs=vhdl ortho_gcc-main \ -cargs $(CFLAGS) $(GHDL_ADAFLAGS) $(GNATMAKE) -o $@ -aI$(srcdir)/vhdl -aOvhdl ortho_gcc-main \ -bargs -E -cargs $(CFLAGS) $(GHDL_ADAFLAGS) \ -- cgit v1.2.3