diff options
Diffstat (limited to 'postgresql')
-rw-r--r-- | postgresql/makefile.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 1e1c4f4a5460..9b5cb3589a9b 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -61,6 +61,10 @@ BUILD_DIR=src/interfaces/libpq CONFIGURE_ACTION = CPPFLAGS="$(SOLARINC)" LDFLAGS="$(SOLARLIB)" ./configure --without-readline --disable-shared --with-openssl +.IF "$(CROSS_COMPILING)" == "YES" +CONFIGURE_ACTION += --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) +.ENDIF + .IF "$(WITH_LDAP)" == "YES" CONFIGURE_ACTION += --with-ldap .IF "$(WITH_OPENLDAP)" != "YES" |