We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da0eee commit 41c8971Copy full SHA for 41c8971
make/autoconf/flags-cflags.m4
@@ -481,6 +481,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
481
else
482
DEBUG_CFLAGS_JDK="-DDEBUG"
483
484
+ if test "x$TOOLCHAIN_TYPE" = xgcc; then
485
+ DEBUG_CFLAGS_JDK="DEBUG_CFLAGS_JDK -ftrivial-auto-var-init=pattern"
486
+ DEBUG_CFLAGS_JVM="-ftrivial-auto-var-init=pattern"
487
+ fi
488
+
489
if test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
490
DEBUG_CFLAGS_JVM="-fpic -mcmodel=large"
491
fi
0 commit comments