"Anthony G. Basile" basile@opensource.dyc.edu writes:
Attached is a patch to fix the building of examples/nettle-benchmark on uclibc systems while not introducing a regression on glibc.
If the use of ldexp is the only reason libm is needed, maybe it's better to rewrite bench_sha1_compress (or the GET_CYCLE_COUNTER macro)?
For now, I'm adding -lm to BENCH_LIBS.
Regards, /Niels