From b00684d1ee8afabb0a746feb25b70c595f3b7d32 Mon Sep 17 00:00:00 2001 From: Kyungwoo Lee Date: Fri, 4 Mar 2016 08:38:05 -0800 Subject: Fix for disabling incremental build for ARM64 The fix (d58885c9a37d857f10d90f6db7246630d4ce8980) broke ARM64 debug build. The right fix is to disable such flag for all archs. --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f4b59e8104..f218a23905 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -440,12 +440,12 @@ if (WIN32) add_compile_options(/guard:cf) set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /guard:cf") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /guard:cf") - - # Incremental linking with CFG is broken until next VS release. - # This needs to be appended to the last for each build type to override the default flag. - set(NO_INCREMENTAL_LINKER_FLAGS "/INCREMENTAL:NO") endif (NOT CLR_CMAKE_PLATFORM_ARCH_ARM64) + # Incremental linking with CFG is broken until next VS release. + # This needs to be appended to the last for each build type to override the default flag. + set(NO_INCREMENTAL_LINKER_FLAGS "/INCREMENTAL:NO") + # Linker flags # # Disable the following line for UNIX altjit on Windows -- cgit v1.2.3