< prev index next >

common/autoconf/jdk-options.m4

Print this page

        

*** 503,517 **** NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS]) if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then if test "x$OBJCOPY" = x; then ! # explicit enabling of enable-debug-symbols and can't find objcopy # this is an error AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols]) fi ENABLE_DEBUG_SYMBOLS=true ZIP_DEBUGINFO_FILES=true DEBUG_BINARIES=true STRIP_POLICY=min_strip --- 503,519 ---- NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS]) if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then + if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then if test "x$OBJCOPY" = x; then ! # enabling of enable-debug-symbols and can't find objcopy # this is an error AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols]) fi + fi ENABLE_DEBUG_SYMBOLS=true ZIP_DEBUGINFO_FILES=true DEBUG_BINARIES=true STRIP_POLICY=min_strip
*** 526,540 **** DEBUG_BINARIES=true STRIP_POLICY=no_strip STRIP="" elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then if test "x$OBJCOPY" = x; then ! # explicit enabling of enable-debug-symbols and can't find objcopy # this is an error AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols]) fi ENABLE_DEBUG_SYMBOLS=true ZIP_DEBUGINFO_FILES=false DEBUG_BINARIES=true STRIP_POLICY=min_strip --- 528,544 ---- DEBUG_BINARIES=true STRIP_POLICY=no_strip STRIP="" elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then + if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then if test "x$OBJCOPY" = x; then ! # enabling of enable-debug-symbols and can't find objcopy # this is an error AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols]) fi + fi ENABLE_DEBUG_SYMBOLS=true ZIP_DEBUGINFO_FILES=false DEBUG_BINARIES=true STRIP_POLICY=min_strip
< prev index next >