diff --git a/configure-build b/configure-build index ad8fbf1..85824fd 100755 --- a/configure-build +++ b/configure-build @@ -8,6 +8,7 @@ if [ ! -n "$target_arch" ]; then exit -1 fi +build_type=Debug source_dir=$(realpath $(dirname "$0")) native_build_dir=$source_dir/build-native target_build_dir=$source_dir/build @@ -28,6 +29,7 @@ cmake \ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="$native_build_dir/lib" \ -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY="$native_build_dir/lib" \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ + -DCMAKE_BUILD_TYPE=$build_type \ $source_dir/kernel/tools popd @@ -39,6 +41,7 @@ cmake \ -DCMAKE_INSTALL_PREFIX=$sysroot_dir \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DTARGET_ARCH=$target_arch \ + -DCMAKE_BUILD_TYPE=$build_type \ $source_dir \ -DCMAKE_MODULE_PATH=$source_dir/arch/$target_arch \ -DCMAKE_SYSTEM_NAME=Rosetta \