]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
do_cmake.sh: default to Debug build
authorSage Weil <sage@redhat.com>
Mon, 17 Sep 2018 16:02:44 +0000 (11:02 -0500)
committerSage Weil <sage@redhat.com>
Fri, 21 Sep 2018 15:27:04 +0000 (10:27 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
do_cmake.sh

index 15cc01242fd8c039748ca4e50f025d076166d695..67f2299100152fb0e9224ca6b0efbb5bfa4075d1 100755 (executable)
@@ -17,7 +17,7 @@ if type cmake3 > /dev/null 2>&1 ; then
 else
     CMAKE=cmake
 fi
-${CMAKE} $ARGS "$@" .. || exit 1
+${CMAKE} -DCMAKE_BUILD_TYPE=Debug $ARGS "$@" .. || exit 1
 
 # minimal config to find plugins
 cat <<EOF > ceph.conf