mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Disable COMDAT folding optimization for windows
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
f6aafdb274
commit
2a44fa1121
@ -692,6 +692,9 @@ if(MSVC)
|
||||
# Disable generating manifest
|
||||
set(LINKER_FLAGS "/MANIFEST:NO")
|
||||
|
||||
# Disable COMDAT folding optimization
|
||||
set(LINKER_FLAGS "${LINKER_FLAGS} /OPT:NOICF")
|
||||
|
||||
# Use legacy float rounding
|
||||
set(LINKER_FLAGS "${LINKER_FLAGS} legacy_stdio_float_rounding.obj")
|
||||
|
||||
|
Reference in New Issue
Block a user