-D _GLIBCXX_USE_C99_MATH
Update:
http://hg.slitaz.org/cookutils/rev/1037
New shiny Glibc-2.26 broke mathematics in the C++ programs and you will see something like this:http://forum.slitaz.org/topic/technical-topic-current-state-of-slitaz-next-march-2018#post-45984
${src}/mfbt/decimal/Decimal.cpp:689:14: error: '__builtin_isfinite' is not a member of 'std'
${src}/mfbt/decimal/Decimal.cpp:692:14: error: '__builtin_isinf_sign' is not a member of 'std'
ERROR: cook failed
I'm not "in topic" with all these changes in Glibc, but I clearly see the message. Well, I can just remove "std::" prefix. And know what? It works!
Executing: compile_rules CFLAGS : -march=nocona -Os -pipe -mindirect-branch=thunk -D _GLIBCXX_USE_C99_MATH Applying patch js38-38.2.1-upstream_fixes-2.patch patching file build/autoconf/icu.m4 patching file js/src/configure patching file js/src/configure.in patching file js/src/jit/RegisterSets.h patching file js/src/Makefile.in loading site script /etc/slitaz/cook.site creating cache ./config.cache