Pass -lm at end of linker command line
authorAndrew Waterman <waterman@cs.berkeley.edu>
Thu, 23 Jul 2015 05:53:52 +0000 (22:53 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Thu, 23 Jul 2015 05:53:52 +0000 (22:53 -0700)
commit1c351c6648e25449a8021dbf49aa9c1f5ab27478
treec45225fe7a8b2ee17e89161f782ccc9ce5e337fc
parenta926ed3c9651b07e0615b36502bf16871345143f
Pass -lm at end of linker command line

The order of arguments to the gcc matters, and putting -lm at the
beginning doesn't expose libm to subsequenly listedt object files.
build/Linux-386-GCC/Makefile
build/Linux-386-SSE2-GCC/Makefile
build/Linux-x86_64-GCC/Makefile