comparison make/lib/Lib-jdk.hotspot.agent.gmk @ 52108:9c84227836d4

8212110: Build of saproc.dll broken on Windows 32 bit after JDK-8210647 Summary: Only add RTC1 compile flag for slowdebug builds. Reviewed-by: mdoerr, erikj
author sgehwolf
date Fri, 12 Oct 2018 10:58:06 +0200
parents ec62d6cab037
children e47074d2d8cc
comparison
equal deleted inserted replaced
13:50d29d75e189 14:2468a4785727
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