mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-05-13 22:26:34 +02:00
Right place for aix makefile hack
This commit is contained in:
parent
085f5cd10d
commit
6642f27cca
8
Makefile
8
Makefile
@ -55,6 +55,10 @@ PG_CPPFLAGS = -I$(libpq_srcdir) ${PTHREAD_CFLAGS}
|
|||||||
override CPPFLAGS := -DFRONTEND $(CPPFLAGS) $(PG_CPPFLAGS)
|
override CPPFLAGS := -DFRONTEND $(CPPFLAGS) $(PG_CPPFLAGS)
|
||||||
PG_LIBS = $(libpq_pgport) ${PTHREAD_CFLAGS}
|
PG_LIBS = $(libpq_pgport) ${PTHREAD_CFLAGS}
|
||||||
|
|
||||||
|
ifeq ($(PORTNAME), aix)
|
||||||
|
CC=xlc_r
|
||||||
|
endif
|
||||||
|
|
||||||
envtest:
|
envtest:
|
||||||
: top_srcdir=$(top_srcdir)
|
: top_srcdir=$(top_srcdir)
|
||||||
: libpq_srcdir = $(libpq_srcdir)
|
: libpq_srcdir = $(libpq_srcdir)
|
||||||
@ -70,10 +74,6 @@ ifndef top_srcdir
|
|||||||
@exit 1
|
@exit 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), aix)
|
|
||||||
CC=xlc_r
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Those files are symlinked from the PostgreSQL sources.
|
# Those files are symlinked from the PostgreSQL sources.
|
||||||
xlogreader.c: % : $(top_srcdir)/src/backend/access/transam/%
|
xlogreader.c: % : $(top_srcdir)/src/backend/access/transam/%
|
||||||
rm -f $@ && $(LN_S) $< .
|
rm -f $@ && $(LN_S) $< .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user