Fix VPATH builds, broken by my recent commit to speed up tuplesorting.
authorRobert Haas <rhaas@postgresql.org>
Wed, 15 Feb 2012 20:52:44 +0000 (15:52 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 15 Feb 2012 20:53:53 +0000 (15:53 -0500)
The relevant commit is 337b6f5ecf05b21b5e997986884d097d60e4e3d0.

src/backend/utils/sort/Makefile

index f46ce4161052976493c4b130e7b16937154c8bea..370b12cee6cc97c6496387b7a436ac63774eeb2e 100644 (file)
@@ -12,6 +12,8 @@ subdir = src/backend/utils/sort
 top_builddir = ../../../..
 include $(top_builddir)/src/Makefile.global
 
+override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
+
 OBJS = logtape.o sortsupport.o tuplesort.o tuplestore.o
 
 tuplesort.o: qsort_tuple.c