This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Repair build after tradcif.c breakage
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: [PATCH] Repair build after tradcif.c breakage
- From: Marc Espie <espie at schutzenberger dot liafa dot jussieu dot fr>
- Date: Wed, 19 Jul 2000 01:25:37 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- Reply-To: Marc dot Espie at liafa dot jussieu dot fr
20000717 snapshot fails to build on OpenBSD.
Symptom: Posix make will not find tradcif.c with a separate build
directory.
This is directly linked to Zack's change.
It is possible build works correctly with gnu-make, or with src == build.
In any case, this repairs the problem.
Wed Jul 19 01:22:15 CEST 2000 Marc Espie <espie@cvs.openbsd.org>
* Makefile.in: Fix tradcif.c path.
--- Makefile.in.orig Wed Jul 19 01:04:45 2000
+++ Makefile.in Wed Jul 19 01:04:59 2000
@@ -1827,7 +1827,7 @@ tradcpp$(exeext): tradcpp.o tradcif.o cp
tradcpp.o tradcif.o cppdefault.o version.o intl.o $(LIBS)
tradcpp.o: tradcpp.c $(CONFIG_H) system.h version.h cppdefault.h
-tradcif.o: tradcif.c $(CONFIG_H) system.h
+tradcif.o: $(srcdir)/tradcif.c $(CONFIG_H) system.h
$(srcdir)/tradcif.c: $(srcdir)/tradcif.y
cd $(srcdir); $(BISON) $(BISONFLAGS) -o tradcif.c tradcif.y