Peter Eisentraut wrote:
Support cross compilation by compiling "zic" with a native compiler. This relies on the output of zic being platform independent, but that is currently the case.
This breaks out of tree (vpath) builds. Attached is a patch that fixes the problem -- committed to HEAD.
-Neil
Index: src/timezone/Makefile =================================================================== RCS file: /var/lib/cvs/pgsql/src/timezone/Makefile,v retrieving revision 1.18 diff -c -r1.18 Makefile *** src/timezone/Makefile 3 Jul 2005 18:54:28 -0000 1.18 --- src/timezone/Makefile 4 Jul 2005 02:43:43 -0000 *************** *** 12,18 **** top_builddir = ../.. include $(top_builddir)/src/Makefile.global ! override CPPFLAGS := $(CPPFLAGS) # files to build into backend OBJS= localtime.o strftime.o pgtz.o --- 12,18 ---- top_builddir = ../.. include $(top_builddir)/src/Makefile.global ! override CPPFLAGS := $(CPPFLAGS) -I$(srcdir) # files to build into backend OBJS= localtime.o strftime.o pgtz.o
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings