mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 04:02:25 +00:00
Make math test work across x86/x64.
This commit is contained in:
parent
eda7e88185
commit
2d8c9c4757
201 changed files with 545 additions and 568 deletions
|
|
@ -144,9 +144,9 @@ void determineCCompiler() {
|
|||
compiler = "gcc";
|
||||
if (strncasecmp(os, "cygwin", 6) == 0) {
|
||||
// Avoid cygwin specific warning that -fPIC is ignored.
|
||||
cc = "gcc -g" optimize;
|
||||
cc = "gcc -g -msse2" optimize;
|
||||
} else {
|
||||
cc = "gcc -fPIC -g" optimize;
|
||||
cc = "gcc -fPIC -g -msse2" optimize;
|
||||
}
|
||||
#elif defined(_MSC_VER)
|
||||
compiler = "MSC";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue