Re: [PATCH]: allow standard compilation of GIT development tree (was Re: [PATCH]: do not link static libraries from the system library directory)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-06-05 at 00:07 +0200, Guido Trentalancia wrote:

> >I've never really seen something which can get it right 'all the
> >time'.  Fedora, and I assume other distros actually just use the git
> >tree subdirectories.  I feel like any such patch to handle this is
> >going to have to be something set in the top level Makefile and will
> >have to cause no difficulties for other workflows....

See http://people.gnome.org/~walters/docs/build-api.txt

This patch looks roughly right to me, though it'd make me happier
if you also added a configure script.  (Note: configure script does
not have to be implemented with autoconf; see
http://git.gnome.org/browse/gtk-doc-stub/tree/configure for a minimal
plain sh one).

> My problem with this patch is that now all of the CFLAGS stuff we have
> lower in the tree (namely -W* stuff) is not going to get picked up
> since
> CFLAGS are already exported...
> 
> So how do we solve that one too?

The automake way is to have AM_CFLAGS, AM_CPPFLAGS which are
build-internal (and always used).  CFLAGS is then something that can
be added by the builder.



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux