mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +00:00
arch: add option to let gccdecide what floating point to use
Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: slightly reword the commit log] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <088489641f4790262685.1399687813@localhost> Patchwork-Id: 347584
This commit is contained in:
parent
8cb9ce9357
commit
13fcbed86e
@ -296,6 +296,15 @@ choice
|
||||
prompt "Floating point:"
|
||||
depends on ARCH_SUPPORTS_WITH_FLOAT
|
||||
|
||||
config ARCH_FLOAT_AUTO
|
||||
bool
|
||||
prompt "auto (let gcc decide)"
|
||||
help
|
||||
Instead of explicitly passing a float option, don't
|
||||
pass any float options and let gcc figure it out.
|
||||
|
||||
For multilib configurations, this may help.
|
||||
|
||||
config ARCH_FLOAT_HW
|
||||
bool
|
||||
prompt "hardware (FPU)"
|
||||
@ -364,6 +373,7 @@ config TARGET_LDFLAGS
|
||||
config ARCH_FLOAT
|
||||
string
|
||||
default "" if ! ARCH_SUPPORTS_WITH_FLOAT
|
||||
default "auto" if ARCH_FLOAT_AUTO
|
||||
default "hard" if ARCH_FLOAT_HW
|
||||
default "soft" if ARCH_FLOAT_SW
|
||||
default "softfp" if ARCH_FLOAT_SOFTFP
|
||||
|
Loading…
x
Reference in New Issue
Block a user