Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209724 - sys-apps/usermode-utilities-20070815 does not respect LDFLAGS
Summary: sys-apps/usermode-utilities-20070815 does not respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2008-02-11 20:55 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-09 21:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-11 20:55:46 UTC
These files have a .hash section even when my LDFLAGS tell the linker not to generate it:

sys-apps/usermode-utilities-20070815 (/usr/bin/uml_mount)
sys-apps/usermode-utilities-20070815 (/usr/bin/uml_watchdog)
sys-apps/usermode-utilities-20070815 (/usr/bin/uml_mconsole)
sys-apps/usermode-utilities-20070815 (/usr/bin/uml_moo)
sys-apps/usermode-utilities-20070815 (/usr/bin/tunctl)
sys-apps/usermode-utilities-20070815 (/usr/bin/jailtest)
sys-apps/usermode-utilities-20070815 (/usr/bin/uml_mkcow)
sys-apps/usermode-utilities-20070815 (/usr/bin/uml_switch)
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-02-12 00:54:38 UTC
usermode-utilities doesn't have much of a build system.  It's highly unlikely that I'll fix it, since I don't want to maintain a whole build system for it on my own.

I'll look into it, tho, to see if it's fairly easy to do.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-12 09:12:50 UTC
At a first glance, I think something like

sed -i -e 's:-o \$(BIN):$(LDFLAGS) -o $(BIN):' "${S}"/*/Makefile || die "LDFLAGS sed failed"

would work. I haven't tried it yet though, as I just woke up :)
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-02-14 03:28:40 UTC
Comitted, thanks.