Various compatibility fixes and improvements to msvcc.sh.
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 18 Mar 2014 16:09:45 +0000 (12:09 -0400)
committerRyan VanderMeulen <ryanvm@gmail.com>
Tue, 18 Mar 2014 16:09:45 +0000 (12:09 -0400)
commitc3dd0a1a0245fc174361a70876e88ae24285f861
treeb0b4f25ec08b061522e3416a9a7415ba70efc193
parentc697472fccfbb5b87b007c053cda9ef014b346b9
Various compatibility fixes and improvements to msvcc.sh.

* Don't try to mix incompatible optimization flags in debug builds.
* Workaround ax_cc_maxopt.m4 not supporting MSVC and change -O3 to -O2.
* Fix MSVC warning by properly passing linker flags to compiler.
* Make msvcc.sh return 1 if invalid command line options are used rather than silently eating them.
* Add more comments.
msvcc.sh