From: Willem Jan Withagen Date: Wed, 12 Oct 2016 09:06:00 +0000 (+0200) Subject: do_freebsd.sh: Set options for debug building. X-Git-Tag: v11.1.0~629^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ea708e749bfe151f9e28b80b80ae3be1fdb0f55d;p=ceph-ci.git do_freebsd.sh: Set options for debug building. And that requires that the options need to be passed on completely to the cmake program as well. Thus adding """'s around the option argument with do_cmake.sh as well Signed-off-by: Willem Jan Withagen --- diff --git a/do_cmake.sh b/do_cmake.sh index 71340376695..b5ac28513e8 100755 --- a/do_cmake.sh +++ b/do_cmake.sh @@ -6,7 +6,7 @@ if test -e build; then fi mkdir build cd build -cmake $@ .. +cmake "$@" .. # minimal config to find plugins cat < ceph.conf diff --git a/do_freebsd.sh b/do_freebsd.sh index 56c1dc2b114..f9e3029cd15 100755 --- a/do_freebsd.sh +++ b/do_freebsd.sh @@ -13,6 +13,7 @@ fi rm -rf build && ./do_cmake.sh "$*" \ -D CMAKE_BUILD_TYPE=Debug \ -D CMAKE_CXX_FLAGS_DEBUG="-O0 -g" \ + -D CMAKE_C_FLAGS_DEBUG="-O0 -g" \ -D ENABLE_GIT_VERSION=OFF \ -D WITH_BLKID=OFF \ -D WITH_FUSE=OFF \