Re: [PATCH] configure: detect version by compiler for build

Subject: Re: [PATCH] configure: detect version by compiler for build

Date: Tue, 28 Jul 2020 20:43:56 +0700

To: David Bremner

Cc: Tomi Ollila, notmuch@notmuchmail.org

From: Đoàn Trần Công Danh


On 2020-07-28 08:25:00-0300, David Bremner <david@tethera.net> wrote:
> Đoàn Trần Công Danh <congdanhqx@gmail.com> writes:
> 
> >
> > Other compile and try run linked with libraries in (autotools') host
> > architecture.
> >
> > Linking with build's libraries doesn't make sense, hence I ignored it.
> > And patched downstream.
> >
> > I don't mind dropping this change and carry it downstream.
> >
> 
> I'm afraid I don't understand the reference to autotools here. Are you
> embedding the build of notmuch in some packaging system that thinks
> everything is autotools?

Yes, this patch was inspired by patching for a packaging system that
have all autotools' required variable exported.

> I agree with Tomi that changing this one
> relatively minor use of CC in isolation does not make sense.  I'm not
> opposed to upstreaming packaging inspired changes, but generally I would
> like to see how they help more than just one packager.

Nowaday, most distro only cross-compiles some base system then build
other packages native-like with qemu-user-static. Except very limited
set of distro and some distro for embedded system, but notmuch is
unlikely shipped notmuch, so this could help only single packager.

So, I think this patch should be dropped.


-- 
Danh
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: