Hi Jörg, Am 27.08.2012 um 12:29 schrieb joerg.schill...@fokus.fraunhofer.de (Joerg Schilling): > Ben Walton <bwal...@opencsw.org> wrote: >> Excerpts from Yann Rouillard's message of Sat Aug 25 11:10:57 -0400 2012: >>> 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 misbehave.
I think you mean LD_OPTIONS to misbehave and LDFLAGS is ok? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ maintainers mailing list maintainers@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.