Commit Graph

14 Commits

Author SHA1 Message Date
Anthony Green
7c27fcbe09 Merge pull request #199 from Pan7/master
Fix configuring msvc compiler
2016-02-20 06:45:00 -05:00
Ehsan Akhgari
9c14cbfc7f Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode
The commit fb25cd0 went a bit too far and removed safeseh
when -clang-cl was passed, but that's only needed in x86-64
which is already handled by the -m64 flag.

I discovered this when building Firefox x86 with clang-cl.
2016-01-28 16:57:18 -05:00
Pan7
e061243958 Fix configuring msvc compiler 2015-09-14 08:25:09 +02:00
Ehsan Akhgari
08853e32fb Enable forcing the usage of the static CRT in libffi's msvc wrapper
This is required for AddressSanitizer builds with clang-cl.
2014-07-31 20:35:49 -04:00
Ehsan Akhgari
fb25cd08ed Add support for building with clang-cl 2014-06-12 20:42:18 -04:00
Mike Hommey
360aa8ca1e Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi. 2014-06-02 09:21:10 -04:00
Ryan VanderMeulen
c3dd0a1a02 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.
2014-03-18 12:09:45 -04:00
Anthony Green
b8099539f0 Fix msvcc.sh botch 2011-02-08 13:50:43 -05:00
Anthony Green
2db72615b5 Rebase 2010-11-21 10:50:56 -05:00
Anthony Green
00d0b59cd1 Fix debug build for windows 2010-08-05 14:56:53 -04:00
Anthony Green
bda487e870 Don't use -safeseh with ml64 2010-08-05 09:02:41 -04:00
Anthony Green
f2c2a4fce9 Remove warnings and add OS/2 support 2010-04-13 10:19:28 -04:00
Anthony Green
c0b69e57d5 Dan Witte's windows build fixes. 2010-03-30 08:30:22 -04:00
Anthony Green
ff3cd68b8c Add msvc.sh wrapper 2010-01-15 11:27:24 -05:00