]> Cypherpunks repositories - gostls13.git/commit
test/bench/shoutout: fix compliation
authorShenghou Ma <minux.ma@gmail.com>
Thu, 7 Jun 2012 18:56:23 +0000 (02:56 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Thu, 7 Jun 2012 18:56:23 +0000 (02:56 +0800)
commit97300640ca510f1db2c38bdf48e9e82ee4bae983
tree9f6cfad5cd101d9913377dda2443752233a7931d
parenta0084b3494423057c9f702d952c8df88dd9a9317
test/bench/shoutout: fix compliation
-lm must come after the source file, versions of gcc insist this strict order.
On standard compliant systems, we no longer need malloc.h for malloc.
Use pkg-config(1) to get correct glib cflags and libs.
Fix compiler warning in threadring.c and k-nucleotide.c.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6198076
test/bench/shootout/binary-tree.c
test/bench/shootout/k-nucleotide.c
test/bench/shootout/threadring.c
test/bench/shootout/timing.sh