mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
arch/sh: use the floating-point string option in tests
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
76b0fcc433
commit
da09907c00
@ -22,9 +22,14 @@ CT_DoArchTupleValues () {
|
|||||||
case "${CT_ARCH_SH_VARIANT}" in
|
case "${CT_ARCH_SH_VARIANT}" in
|
||||||
sh3) CT_ARCH_ARCH_CFLAG=-m3;;
|
sh3) CT_ARCH_ARCH_CFLAG=-m3;;
|
||||||
sh4*)
|
sh4*)
|
||||||
case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
|
# softfp is not possible for SuperH, no need to test for it.
|
||||||
y,) CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}";;
|
case "${CT_ARCH_FLOAT}" in
|
||||||
,y) CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}-nofpu";;
|
hard)
|
||||||
|
CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}"
|
||||||
|
;;
|
||||||
|
soft)
|
||||||
|
CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}-nofpu"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user