1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Support cross compilation by compiling "zic" with a native compiler. This

relies on the output of zic being platform independent, but that is
currently the case.
This commit is contained in:
Peter Eisentraut
2005-07-03 18:54:28 +00:00
parent cc9bcbc8a4
commit 85884cb1de
5 changed files with 58 additions and 8 deletions

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.414 2005/07/01 18:17:30 petere Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.415 2005/07/03 18:54:26 petere Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@ -303,6 +303,17 @@ AC_DEFINE_UNQUOTED(PG_VERSION_STR,
[A string containing the version number, platform, and C compiler])
#
# Native compiler
#
if test -z "$CC_FOR_BUILD"; then
CC_FOR_BUILD=$CC
fi
AC_SUBST(CC_FOR_BUILD)
#
# Set up TAS assembly code if needed; the template file has now had its
# chance to request this.