mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 00:23:56 +00:00
Fix setting floating point in uClibc (thanks to Szilveszter Ordog <ordog@mail.thot-soft.com>)
This commit is contained in:
parent
e7e37942d9
commit
25fb1678c0
@ -187,12 +187,12 @@ ENDSED
|
||||
# way to select between hard/soft float has changed
|
||||
case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
|
||||
y,) cat >>"${munge_file}" <<-ENDSED
|
||||
s/.*(HAS_FPU).*/\\1=y/
|
||||
s/[^_]*(HAS_FPU).*/\\1=y/
|
||||
s/.*(UCLIBC_HAS_FPU).*/\\1=y/
|
||||
ENDSED
|
||||
;;
|
||||
,y) cat >>"${munge_file}" <<-ENDSED
|
||||
s/.*(HAS_FPU).*/\\# \\1 is not set/
|
||||
s/[^_]*(HAS_FPU).*/\\# \\1 is not set/
|
||||
s/.*(UCLIBC_HAS_FPU).*/# \\1 is not set/
|
||||
ENDSED
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user