ありー。CFLAGS=-std=c99 -lmなしでもうまくいったで。
# gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# make clean && make && ./cos
rm -f cos
gcc cos.c -o cos
cos(1) is 0.540302
# ldd ./cos
linux-vdso.so.1 => (0x00007fff58910000)
libc.so.6 => /lib64/libc.so.6 (0x00007fcb21e0c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcb221d9000)
以前のblurhashをコンパイルできないはずのgccだよなあ。何か他に落とし穴があるんじゃろか (再現環境を整えるのが面倒でなあ…)