]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
do_cmake.sh: Use value of ARGS at runtime 56204/head
authorZack Cerza <zack@redhat.com>
Thu, 14 Mar 2024 21:43:36 +0000 (15:43 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 14 Mar 2024 21:43:36 +0000 (15:43 -0600)
The "Building Ceph" section of README.md instructs the user to run:

    ARGS="-DCMAKE_C_COMPILER=gcc-7" ./do_cmake.sh

But, very early on do_cmake.sh was doing ARGS="-GNinja", ignoring the existing
 value.

Signed-off-by: Zack Cerza <zack@redhat.com>
do_cmake.sh

index 90f8a3381df365f044993e04bfbe770f51e0f09e..8177e72639606be85c75d363268b5a50485794db 100755 (executable)
@@ -14,7 +14,7 @@ if [ -e $BUILD_DIR ]; then
 fi
 
 PYBUILD="3"
-ARGS="-GNinja"
+ARGS="${ARGS} -GNinja"
 if [ -r /etc/os-release ]; then
   source /etc/os-release
   case "$ID" in