[csw-maintainers] Proposal: direct binding for all the opencsw software stack
Joerg Schilling
Joerg.Schilling at fokus.fraunhofer.de
Mon Aug 27 12:29:11 CEST 2012
Ben Walton <bwalton at opencsw.org> wrote:
> Excerpts from Yann Rouillard's message of Sat Aug 25 11:10:57 -0400 2012:
>
> Hi Yann,
>
> > For 2., I don't know yet. I would like some input from Dago on the
> > best way to add distribution wide LDFLAGS while still allowing to
> > override them. I was thinking about adding a COMMON_LDFLAGS mgar
> > variable that could easily be overriden in the Makefile.
>
> What about:
>
> bwalton @ unstable10s : ~/opencsw/.buildsys/v2
> $ svn diff
> Index: gar.conf.mk
> ===================================================================
> --- gar.conf.mk (revision 19080)
> +++ gar.conf.mk (working copy)
> @@ -706,7 +706,7 @@
> CFLAGS ?= $(strip $($(GARCOMPILER)_CC_FLAGS) $(_CATEGORY_CFLAGS)
> $(EXTRA_CFLAGS))
> CXXFLAGS ?= $(strip $($(GARCOMPILER)_CXX_FLAGS) $(_CATEGORY_CXXFLAGS)
> $(EXTRA_CXXFLAGS))
> CPPFLAGS ?= $(strip $($(GARCOMPILER)_CPP_FLAGS) $(_CATEGORY_CPPFLAGS)
> $(EXTRA_CPPFLAGS) $(INCLUDE_FLAGS))
> -LDFLAGS ?= $(strip $($(GARCOMPILER)_LD_FLAGS) $(_CATEGORY_LDFLAGS)
> $(EXTRA_LDFLAGS) $(LINKER_FLAGS))
> +LDFLAGS ?= $(strip $($(GARCOMPILER)_LD_FLAGS) $(_CATEGORY_LDFLAGS)
I hope, you only use LDFLAGS in case of a known defective upstream build
system. Note that using LDFLAGS may cause a sane build system to missbehave.
Jörg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
More information about the maintainers
mailing list