This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Repair build after tradcif.c breakage


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]