Skip to content

Commit

Permalink
8248365: Debug build crashes on Windows when playing media file
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
  • Loading branch information
Alexander Matveev committed Jul 13, 2020
1 parent 82f66ca commit 946590e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ CFLAGS = -DFFI_BUILDING \

LIBFLAGS = -out:$(shell cygpath -ma $(TARGET)) -nologo

# Do not use -RTC1(-RTCs) in debug build. See JDK-8248365.
ifeq ($(BUILD_TYPE), Release)
CFLAGS += -O1 -Oy -MD -Gy -GF
else # debug
CFLAGS += -Od -Oy- -RTC1 -MDd -Zi -Fd$(PDB)
CFLAGS += -Od -Oy- -RTCu -MDd -Zi -Fd$(PDB)
endif

ifeq ($(ARCH), x32)
Expand Down

0 comments on commit 946590e

Please sign in to comment.