Ben Walton <bwal...@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:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de (uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ maintainers mailing list maintainers@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.