mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2024-11-30 07:40:37 +00:00
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:
parent
f958e6642e
commit
cfb6fb66c2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user