Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414527 - toolchain-funcs.eclass: tc-is-hardfloat could automatically set CTARGET=CHOST if its empty
Summary: toolchain-funcs.eclass: tc-is-hardfloat could automatically set CTARGET=CHOST...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 21:23 UTC by Raúl Porcel (RETIRED)
Modified: 2012-05-10 03:31 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 Raúl Porcel (RETIRED) gentoo-dev 2012-05-03 21:23:09 UTC
I'm writing an ebuild for binary drivers for ARM which are only hardfloat, i wanted it to die if the system isn't hardfloat.

Thought i could use tc-is-hardfloat, but it checks if hardfloat is in the CTARGET string, however CTARGET isn't set. There are some functions in the eclass that do set CTARGET if its empty, for example: tc-is-static-only

Could be the same be done for tc-is-hardfloat(and maybe tc-is-softfloat?)

Thanks