This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up --enable-initfini-array autodetection in configure (PR bootstrap/50237)
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 19 Jan 2012 09:54:43 +0100
- Subject: Re: [PATCH] Fix up --enable-initfini-array autodetection in configure (PR bootstrap/50237)
- References: <20120118232441.GO18768@tyan-ft48-01.lab.bos.redhat.com>
On 01/19/2012 12:24 AM, Jakub Jelinek wrote:
if test "x${build}" = "x${target}"&& test "x${build}" = "x${host}"; then
This test is no longer necessary, is it? ia64 does its own cross-compile
detection via AC_RUN_IFELSE, and other hosts are cross-compile safe.
The patch is okay if you remove it.
H.J., can ia64 fall back to the common test when cross compiling? Or
perhaps even always?
Paolo