Skip to content

Commit 946590e

Browse files
author
Alexander Matveev
committed
8248365: Debug build crashes on Windows when playing media file
Reviewed-by: kcr
1 parent 82f66ca commit 946590e

File tree

1 file changed

+2
-1
lines changed
  • modules/javafx.media/src/main/native/gstreamer/projects/win/glib-lite

1 file changed

+2
-1
lines changed

modules/javafx.media/src/main/native/gstreamer/projects/win/glib-lite/Makefile.ffi

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ CFLAGS = -DFFI_BUILDING \
2929

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

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

3839
ifeq ($(ARCH), x32)

0 commit comments

Comments
 (0)