]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
do_freebsd.sh: Set options for debug building.
authorWillem Jan Withagen <wjw@digiware.nl>
Wed, 12 Oct 2016 09:06:00 +0000 (11:06 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Wed, 12 Oct 2016 09:06:00 +0000 (11:06 +0200)
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 <wjw@digiware.nl>
do_cmake.sh
do_freebsd.sh

index 71340376695d2eaca5544709da435d617988df8a..b5ac28513e8b142628f226fdd520555d10a9e7bb 100755 (executable)
@@ -6,7 +6,7 @@ if test -e build; then
 fi
 mkdir build
 cd build
-cmake $@ ..
+cmake "$@" ..
 
 # minimal config to find plugins
 cat <<EOF > ceph.conf
index 56c1dc2b1144a098c81e71bf93c659b58ce91d4e..f9e3029cd158b38d596bf3cde63cc7f316033853 100755 (executable)
@@ -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 \