Don't run Clang in MS compatibility mode on Windows (-fno-ms-compatibility). Fixes #762. Thanks to d0k in #llvm for the helpful insight!
Adjust default compiler and linker flags when using cmake. With emscripten, -O2 is ignored when compiling .bc files, so pass it to linker instead.
Fix __gid_t_defined and __uid_t_define single definition ("once") handling.
Add id_t from FreeBSD headers, which is e.g. used by libarchive
Merge pull request #780 from juj/no-ms-compatibility

Don't run Clang in MS compatibility mode on Windows (-fno-ms-compatibility).
Merge pull request #782 from juj/suppress_Ox_warning

Adjust default compiler and linker flags when using cmake.
Merge pull request #784 from LCID-Fire/id_t_fix

Id t fix
handle phis from indirectbr
Merge branch 'incoming' into asm_js_nomerge