[Buildroot] [PATCH 1/1] package/llvm: include limits
Peter Korsgaard
peter at korsgaard.com
Mon Jun 7 21:35:58 UTC 2021
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:
> Fix the following build failure:
> In file included from /data/buildroot-autobuilder/instance-0/output-1/build/host-llvm-9.0.1/utils/benchmark/src/benchmark_register.cc:15:
> /data/buildroot-autobuilder/instance-0/output-1/build/host-llvm-9.0.1/utils/benchmark/src/benchmark_register.h: In function 'void AddRange(std::vector<T>*, T, T, int)':
> /data/buildroot-autobuilder/instance-0/output-1/build/host-llvm-9.0.1/utils/benchmark/src/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std'
> 17 | static const T kmax = std::numeric_limits<T>::max();
> | ^~~~~~~~~~~~~~
> Fixes:
> - http://autobuild.buildroot.org/results/68581aad7c622a1fc74bb5556799e3c681425b2a
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Committed to 2021.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list