buildlib: make better CC and CFLAGS guesses
commit2aecda82a11eb6c4739122115b57ccb314b9da8b
authorKyle J. McKay <mackyle@gmail.com>
Thu, 24 Jul 2014 09:06:49 +0000 (24 02:06 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 24 Jul 2014 09:06:49 +0000 (24 02:06 -0700)
treee2401107dfc2e918d68b5e3e002552a90311a586
parent202aadd5cb51d9eafd839d3197ca577fea3bb804
buildlib: make better CC and CFLAGS guesses

Try gcc, clang and cc before failing to find a default compiler.
If CFLAGS is not set only use -O2 for gcc and clang otherwise -O.
buildlib