| From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | patch to fix client only builds |
| Date: | 2008-11-06 15:44:08 |
| Message-ID: | b42b73150811060744u1de0497v1ff9529bd6a87ba1@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I'm trying to do client only builds on a bunch of legacy platforms and
noticed that the include path is messed up...if keywords.o is not
already built, it fails to build be because src/backend/parser but not
src/backend is in the include path. (keywords.c includes
parser/gram.h).
The following fixes it. Probably not the right thing exactly but it works:
Index: Makefile
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/parser/Makefile,v
retrieving revision 1.48
diff -r1.48 Makefile
13c13
< override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
---
> override CPPFLAGS := -I$(subdir) -I.. $(CPPFLAGS)
This would be a nice backpatch to 8.3 (and possibly earlier, I didn't check).
merlin
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kevin Grittner | 2008-11-06 15:45:55 | Re: RAM-only temporary tables |
| Previous Message | Teodor Sigaev | 2008-11-06 15:34:10 | Bitmap index - first look |