mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-08 07:05:24 +02:00
Sync recipe with the one in sourcecode Record Accessor feature requires Flex and Bison fts dependency is needed on musl Delete cmake_multilib.patch its fixed upstream Use builtin nan funciton to avoid linking with libm Signed-off-by: Khem Raj <raj.khem@gmail.com>
28 lines
893 B
Diff
28 lines
893 B
Diff
help complier to use intrinsics, clang in few cases e.g. aarch64 can not
|
|
and then requires linking with libm, its the only function needed from libm then
|
|
its good to avoid needing it.
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
--- a/include/fluent-bit/stream_processor/flb_sp_timeseries.h
|
|
+++ b/include/fluent-bit/stream_processor/flb_sp_timeseries.h
|
|
@@ -207,7 +207,7 @@ void cb_forecast_calc(struct timeseries
|
|
result = b0 + b1 * (val->f64 + *forecast->latest_x);
|
|
break;
|
|
default:
|
|
- result = nan("");
|
|
+ result = __builtin_nan("");
|
|
break;
|
|
}
|
|
|
|
@@ -283,7 +283,7 @@ void cb_forecast_r_calc(struct timeserie
|
|
result = ((val->i64 - b0) / b1) - *forecast->latest_x;
|
|
break;
|
|
default:
|
|
- result = nan("");
|
|
+ result = __builtin_nan("");
|
|
break;
|
|
}
|
|
|