8199331: Don't limit debug information for fastdebug JDK native libraries
authorihse
Thu, 08 Mar 2018 18:51:31 +0100
changeset 49156 6aaf3aef2d67
parent 49155 7cd937277d5e
child 49157 2478f56cf409
8199331: Don't limit debug information for fastdebug JDK native libraries Reviewed-by: erikj
make/autoconf/flags-cflags.m4
--- a/make/autoconf/flags-cflags.m4	Thu Mar 08 18:46:37 2018 +0100
+++ b/make/autoconf/flags-cflags.m4	Thu Mar 08 18:51:31 2018 +0100
@@ -108,11 +108,7 @@
 [
   # Debug symbols
   if test "x$TOOLCHAIN_TYPE" = xgcc; then
-    if test "x$OPENJDK_TARGET_CPU_BITS" = "x64" && test "x$DEBUG_LEVEL" = "xfastdebug"; then
-      CFLAGS_DEBUG_SYMBOLS="-g1"
-    else
-      CFLAGS_DEBUG_SYMBOLS="-g"
-    fi
+    CFLAGS_DEBUG_SYMBOLS="-g"
   elif test "x$TOOLCHAIN_TYPE" = xclang; then
     CFLAGS_DEBUG_SYMBOLS="-g"
   elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then