mirror of
https://github.com/rehlds/rehlds.git
synced 2025-02-04 17:50:36 +03:00
ICC: Use -fp-model precise for ANSI/IEEE standards compliance
This commit is contained in:
parent
6994b32f25
commit
8249802a70
@ -66,6 +66,10 @@ rootProject.ext.createIccConfig = { boolean release, BinaryKind binKind ->
|
||||
)
|
||||
}
|
||||
|
||||
// ICC uses -fp-model fast=1 by default for more aggressive optimizations on floating-point calculations
|
||||
// https://software.intel.com/en-us/node/522979#GUID-99936BBA-1508-4E9F-AC09-FA98613CE2F5
|
||||
|
||||
cfg.compilerOptions.args('-fp-model=precise');
|
||||
cfg.singleDefines('LINUX', '_LINUX')
|
||||
return cfg
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user