See attached build log.
(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 247155 [details]
Feel free to provide a patch and or patch it yourself.
(In reply to comment #2)
> Feel free to provide a patch and or patch it yourself.
I believe all that is required is to modify the line in all: in the top level Makefile to include LDFLAGS, like so:
for d in $(SUBDIRS); do cd $$d ; CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC=$(CC) $(MAKE) ; cd - ; done
and to similarly modify the makefile in subdirs elfls rebind sstrip. The elftoc subdir Makefile already respects LDFLAGS from the top level as written, and the tiny subdir is all asm.
I'm testing a patch I've got ready. I'll upload it when I'm convinced it address the issue and doesn't cause regression.
Created attachment 247243 [details]
Patch to respect LDFLAGS
The ebuild is on my overlay if you want to see it. It just adds a line
Created attachment 251805 [details, diff]
I consolidated my earlier patch to respect LDFLAGS with the main patch, elfkickers-2.0a-r2.patch, and I also cleaned up some of the type mismatch warnings in printfs.
If anyone wants to review this, its also on my dev overlay along with the ebuild. I'll put it on the tree in about a week.
Committed to the tree. Please test.