patch to fix client only builds

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема patch to fix client only builds
Дата
Msg-id b42b73150811060744u1de0497v1ff9529bd6a87ba1@mail.gmail.com
обсуждение исходный текст
Ответы Re: patch to fix client only builds  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Tony Fernandez"
Дата:
Сообщение: Upgrading Postgres versions question
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: RAM-only temporary tables