Skip to content

Commit 690a8b4

Browse files
committed
Enable debug build by default
1 parent 2d49126 commit 690a8b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runtime/cmake/omr_config.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ set(OMR_DDR OFF CACHE BOOL "")
2828
set(OMR_EXAMPLE OFF CACHE INTERNAL "")
2929
set(OMR_FVTEST OFF CACHE INTERNAL "")
3030
set(OMR_GC ON CACHE INTERNAL "")
31-
set(OMR_SEPARATE_DEBUG_INFO ON CACHE BOOL "")
31+
set(OMR_SEPARATE_DEBUG_INFO OFF CACHE BOOL "")
3232
set(OMRPORT_OMRSIG_SUPPORT ON CACHE INTERNAL "")

runtime/cmake/platform/toolcfg/gnu.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
2121
################################################################################
2222

23-
list(APPEND OMR_PLATFORM_COMPILE_OPTIONS -O3 -g -fstack-protector)
23+
list(APPEND OMR_PLATFORM_COMPILE_OPTIONS -O0 -g3 -fstack-protector)
2424
list(APPEND OMR_PLATFORM_C_COMPILE_OPTIONS -Wimplicit -Wreturn-type)
2525
list(APPEND OMR_PLATFORM_CXX_COMPILE_OPTIONS -fno-threadsafe-statics)
2626

0 commit comments

Comments
 (0)