Summary: | dev-util/elfkickers does not respect LDFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | solar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 331933 | ||
Attachments: |
Build log
Patch to respect LDFLAGS Consolidated patch |
Description
Diego Elio Pettenò (RETIRED)
2010-09-13 17:41:51 UTC
Created attachment 247155 [details]
Build log
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
epatch "${FILESDIR}"/elfkickers-2.0a-respect-ldflags.patch
to src_unpack().
Created attachment 251805 [details, diff]
Consolidated patch
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. |