From: Pavan Deolasee Date: Wed, 1 Aug 2018 05:17:21 +0000 (+0530) Subject: Fix couple of compile time warnings X-Git-Tag: XL_10_R1BETA1~43 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cf0e90685a89bbb29e31dadbb17703c2a01c0b5d;p=postgres-xl.git Fix couple of compile time warnings --- diff --git a/src/backend/Makefile b/src/backend/Makefile index 1bb5b58f43..87f2324609 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -79,7 +79,7 @@ ifneq ($(PORTNAME), win32) ifneq ($(PORTNAME), aix) postgres: $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_EX) -L$(top_builddir)/src/gtm/libpg $(export_dynamic) $(call expand_subsys,$^) $(LIBS) -o $@ + $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_EX) $(export_dynamic) $(call expand_subsys,$^) $(LIBS) -o $@ endif endif diff --git a/src/gtm/client/Makefile b/src/gtm/client/Makefile index f1e9cdb579..1459018fd9 100644 --- a/src/gtm/client/Makefile +++ b/src/gtm/client/Makefile @@ -16,7 +16,6 @@ SO_MAJOR_VERSION= 1 SO_MINOR_VERSION= 0 OBJS=fe-misc.o fe-connect.o pqexpbuffer.o ip.o gtm_client.o fe-protocol.o -LDFLAGS=-L$(top_build_dir)/common -L$(top_build_dir)/libpq LIBS=-lpthread diff --git a/src/gtm/common/Makefile b/src/gtm/common/Makefile index b059a27ec7..e4c837fd82 100644 --- a/src/gtm/common/Makefile +++ b/src/gtm/common/Makefile @@ -19,7 +19,6 @@ NAME=gtm SO_MAJOR_VERSION= 1 SO_MINOR_VERSION= 0 -LDFLAGS=-L$(top_builddir)/common -L$(top_builddir)/libpq LIBS=-lpthread OBJS = gtm_opt_handler.o aset.o mcxt.o gtm_utils.o elog.o assert.o stringinfo.o gtm_lock.o \