make/lib/Lib-jdk.hotspot.agent.gmk
changeset 52108 9c84227836d4
parent 51853 ec62d6cab037
child 53379 e47074d2d8cc
equal deleted inserted replaced
52107:0c1e44da019c 52108:9c84227836d4
    42 else ifeq ($(OPENJDK_TARGET_OS), windows)
    42 else ifeq ($(OPENJDK_TARGET_OS), windows)
    43   SA_CFLAGS := -D_WINDOWS -D_DEBUG -D_CONSOLE -D_MBCS -EHsc
    43   SA_CFLAGS := -D_WINDOWS -D_DEBUG -D_CONSOLE -D_MBCS -EHsc
    44   ifeq ($(OPENJDK_TARGET_CPU), x86_64)
    44   ifeq ($(OPENJDK_TARGET_CPU), x86_64)
    45     SA_CXXFLAGS := -DWIN64
    45     SA_CXXFLAGS := -DWIN64
    46   else
    46   else
    47     SA_CXXFLAGS := -RTC1
    47     # Only add /RTC1 flag for debug builds as it's
       
    48     # incompatible with release type builds. See
       
    49     # https://msdn.microsoft.com/en-us/library/8wtf2dfz.aspx
       
    50     ifeq ($(DEBUG_LEVEL),slowdebug)
       
    51       SA_CXXFLAGS := -RTC1
       
    52     endif
    48   endif
    53   endif
    49 endif
    54 endif
    50 
    55 
    51 ################################################################################
    56 ################################################################################
    52 
    57