> Am Montag, den 13.12.2010, 11:29 +0100 schrieb Paul Menzel: >> Am Montag, den 13.12.2010, 00:29 +0100 schrieb Joerg Bornkessel: >> >> > > Am Samstag, den 25.09.2010, 13:15 +0200 schrieb Joerg Bornkessel: >> > >> > > […] >> > >> > >> > >>  http://www.gentoo.org/proj/en/qa/asneeded.xml >> > >> > > Should `LDFLAGS` also be passed to the compiler when building the >> > > plugins? >> > >> > We have this fixed global on Gentoo for all plugins. >> > All plugin Makefile's are sed'ed/patched to use the LDFLAGS. >> >> Sorry, I do not know Gentoo’s build system. I found the patch for VDR >>  and the ebuild file . >> >> I was wondering why skincurses had no patch applied or change regarding >> `LDFLAGS`  and for example vdr-burn  has a separate patch. Then I >> found `vdr-plugin.eclass`  where the replacement is done using `sed`. >> >> > > I made a patch from your message which does not include any changes to >> > > the plugins. >> > >> > I dont know, what distri you use, >> >> I am using the OpenEmbedded framework . >> >> > one way would be to fix this in the make.global ( used up from >> > vdr-1.7.(not shure yet)) and inherit this in the plugin Makefile. >> > >> > Should be standard in the vdr-1.7.x adapted plugin Makefiles >> >> That is what my patch is for. I will send an updated patch.
> One question left. Why does not `LDFLAGS` need to be passed in the > implicit rules? > ### Implicit rules: > > %.o: %.c > $(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $< In this part will only create/compiled the object files, $(OBJS), files with .o extension. It is not needed to link here against LDFLAGS, Linked will only the final lib -- Regards Gentoo Developer Joerg Bornkessel <hd_bru...@gentoo.org> _______________________________________________ vdr mailing list email@example.com http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr