You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2019/08/11 09:51:15 UTC

[hawq] branch master updated: HAWQ-1742. include *.h in dbcommon in src's makefile

This is an automated email from the ASF dual-hosted git repository.

huor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hawq.git


The following commit(s) were added to refs/heads/master by this push:
     new 9dab748  HAWQ-1742. include *.h in dbcommon in src's makefile
9dab748 is described below

commit 9dab748a6ebb6945b9d5ef80e02d7c6ded307aa9
Author: oushu1tuyu1 <tu...@oushu.io>
AuthorDate: Sun Aug 11 17:34:24 2019 +0800

    HAWQ-1742. include *.h in dbcommon in src's makefile
---
 src/backend/Makefile       | 2 ++
 src/backend/utils/Makefile | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/backend/Makefile b/src/backend/Makefile
index 02ee57b..c3dcb2a 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -14,6 +14,8 @@ subdir = src/backend
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
+override CPPFLAGS := -I$(prefix)/include $(CPPFLAGS)
+
 SUBDIRS = access bootstrap catalog parser commands executor foreign \
 	lib libpq gp_libpq_fe main nodes optimizer port postmaster regex \
 	rewrite storage tcop utils resourcemanager $(top_builddir)/src/timezone cdb
diff --git a/src/backend/utils/Makefile b/src/backend/utils/Makefile
index b265667..1fd51ca 100644
--- a/src/backend/utils/Makefile
+++ b/src/backend/utils/Makefile
@@ -14,6 +14,8 @@ SUBDIRS     = adt cache error fmgr hash init mb misc mmgr resowner \
 
 include $(top_srcdir)/src/backend/common.mk
 
+override CPPFLAGS := -I$(prefix)/include $(CPPFLAGS)
+
 all: fmgroids.h probes.h