On Thu, Oct 29, 2015 at 5:05 AM, Richard Earnshaw <richard.earns...@foss.arm.com> wrote: > On 23/10/15 16:41, H.J. Lu wrote: >> On Fri, Oct 23, 2015 at 7:23 AM, Marcus Shawcroft >> <marcus.shawcr...@gmail.com> wrote: >>> On 23 October 2015 at 13:34, H.J. Lu <hjl.to...@gmail.com> wrote: >>>> On Fri, Oct 23, 2015 at 4:54 AM, Marcus Shawcroft >>>> <marcus.shawcr...@gmail.com> wrote: >>>>> Hi, >>>>> >>>>> This patch breaks the distinction between build and host. For example >>>>> consider a configure along these lines: >>>>> >>>>> ./configure --host=aarch64-none-linux-gnu >>>>> --target=aarch64-none-linux-gnu --build=x86_64-pc-linux-gnu >>> >>>>> HJ, could you take a look into this issue? >>>>> >>>> >>>> Try this. >>> >>> Thanks HJ. This solves the issue I was seeing. >>> >> >> I am testing this patch. OK for trunk if there is no regression? >> >> > > Your ChangeLog should mention that configure has been regenerated. And > this hunk:
I checked it in with updated ChangeLog. > @@ -7096,7 +7100,8 @@ if test x$ac_checking != x ; then > > $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h > > - $as_echo "#define CHECKING_P 1" >>confdefs.h > + > +$as_echo "#define CHECKING_P 1" >>confdefs.h > > nocommon_flag=-fno-common > else > > appears to be spurious. It came from autoconf. > Otherwise OK. > Thanks. -- H.J.