Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a bug with clang running on MSYS2. Windows expects to have import and export declarations to reduce the size of the lookup tables. gcc >4 introduced visibility, but a lot of code is not using this often and it becomes a problem for code in win32/win64 due to lack of this. CLANG for MSYS2 quietly injects the import/export declarations itself, so it can make use of gcc code so we need to turn-off this feature if compiling with CLANG on MSYS2 to avoid re-inserting this information 2x
- Loading branch information
Showing
7 changed files
with
404 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.