--- a/common/autoconf/jdk-options.m4 Thu Dec 17 20:24:47 2015 -0800
+++ b/common/autoconf/jdk-options.m4 Fri Dec 18 09:37:15 2015 -0800
@@ -253,7 +253,10 @@
ENABLE_DEBUG_SYMBOLS=true
ZIP_DEBUGINFO_FILES=true
- DEBUG_BINARIES=true
+ # -g is already added by ENABLE_DEBUG_SYMBOLS and the hotspot makefiles
+ # will basically do slowdebug builds when DEBUG_BINARIES is set for
+ # fastdebug builds
+ DEBUG_BINARIES=false
STRIP_POLICY=min_strip
elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
ENABLE_DEBUG_SYMBOLS=false
@@ -263,6 +266,8 @@
elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then
ENABLE_DEBUG_SYMBOLS=false # -g option only
ZIP_DEBUGINFO_FILES=false
+ # Fastdebug builds with this setting will essentially be slowdebug
+ # in hotspot.
DEBUG_BINARIES=true
STRIP_POLICY=no_strip
STRIP=""
@@ -278,7 +283,10 @@
ENABLE_DEBUG_SYMBOLS=true
ZIP_DEBUGINFO_FILES=false
- DEBUG_BINARIES=true
+ # -g is already added by ENABLE_DEBUG_SYMBOLS and the hotspot makefiles
+ # will basically do slowdebug builds when DEBUG_BINARIES is set for
+ # fastdebug builds
+ DEBUG_BINARIES=false
STRIP_POLICY=min_strip
else
AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped])