Summary: | flag-o-matic.eclass: filter-ldflags does not filter flag when part of comma-separated list | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joshua Rich <joshua.rich> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | test ebuild |
Description
Joshua Rich
2008-06-30 11:30:46 UTC
Created attachment 158951 [details]
test ebuild
Run the src_compile function of this ebuild with a comma-separated list of linker flags as LDFLAGS to see the issue:
1. export LDFLAGS=-Wl,-O1,--as-needed"
2. ebuild test-flagomatic-0.1.ebuild digest compile
this just gets to be too messy just use clear flags and keep them as units: -Wl,-O1 -Wl,--as-needed -Wl,------ (In reply to comment #2) > this just gets to be too messy > > just use clear flags and keep them as units: > -Wl,-O1 -Wl,--as-needed -Wl,------ > Ok, no worries, thanks for the reply. Regards, Joshua Rich |