8212110: Build of saproc.dll broken on Windows 32 bit after JDK-8210647

Only add RTC1 compile flag for slowdebug builds.

Reviewed-by: mdoerr, erikj
This commit is contained in:
Severin Gehwolf 2018-10-12 10:58:06 +02:00
parent f958e6642e
commit cfb6fb66c2

View File

@ -44,7 +44,12 @@ else ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(OPENJDK_TARGET_CPU), x86_64)
SA_CXXFLAGS := -DWIN64
else
SA_CXXFLAGS := -RTC1
# Only add /RTC1 flag for debug builds as it's
# incompatible with release type builds. See
# https://msdn.microsoft.com/en-us/library/8wtf2dfz.aspx
ifeq ($(DEBUG_LEVEL),slowdebug)
SA_CXXFLAGS := -RTC1
endif
endif
endif