Skip to content

Commit

Permalink
build: do_cmake: allow ARGS to be overridden
Browse files Browse the repository at this point in the history
so that one can do stuff like
ARGS="-DCMAKE_C_COMPILER=gcc-7 -D.." ./do_cmake.sh

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
  • Loading branch information
theanalyst committed Jan 10, 2018
1 parent ad3502f commit 9b99018
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ if test -e build; then
exit 1
fi

ARGS=""
if which ccache ; then
echo "enabling ccache"
ARGS="$ARGS -DWITH_CCACHE=ON"
Expand Down

0 comments on commit 9b99018

Please sign in to comment.