1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-06-21 01:34:15 +02:00

Right place for aix makefile hack

This commit is contained in:
stalkerg
2016-12-08 14:57:28 +03:00
parent 085f5cd10d
commit 6642f27cca
+4 -4
View File
@@ -55,6 +55,10 @@ PG_CPPFLAGS = -I$(libpq_srcdir) ${PTHREAD_CFLAGS}
override CPPFLAGS := -DFRONTEND $(CPPFLAGS) $(PG_CPPFLAGS)
PG_LIBS = $(libpq_pgport) ${PTHREAD_CFLAGS}
ifeq ($(PORTNAME), aix)
CC=xlc_r
endif
envtest:
: top_srcdir=$(top_srcdir)
: libpq_srcdir = $(libpq_srcdir)
@@ -70,10 +74,6 @@ ifndef top_srcdir
@exit 1
endif
ifeq ($(PORTNAME), aix)
CC=xlc_r
endif
# Those files are symlinked from the PostgreSQL sources.
xlogreader.c: % : $(top_srcdir)/src/backend/access/transam/%
rm -f $@ && $(LN_S) $< .