File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ BUILD_ROOT=$1
2929UPGRADE_CMAKE=$2
3030CMAKE_ROOT=$3
3131
32+ # TODO: This may no longer be necessary
3233if $UPGRADE_CMAKE ; then
3334 pushd " $CMAKE_ROOT "
3435 if ! [ -e cmake-3.23.2-linux-x86_64.sh ]; then
@@ -51,6 +52,7 @@ mkdir -p build
5152pushd build
5253
5354cmake -DBUILD_SHARED_LIBS=OFF \
55+ -DENABLE_WARNINGS=OFF \
5456 -DCMAKE_C_STANDARD_REQUIRED=ON \
5557 -DCMAKE_C_STANDARD=99 \
5658 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ CMAKE_ROOT=target/cmake-3.23.2-linux-x86_64
184184mkdir -p $CMAKE_ROOT
185185
186186DOCKCROSS_IMAGES=" android-arm android-arm64 linux-arm64 linux-armv5 linux-armv7 linux-s390x linux-ppc64le linux-x64 linux-x86 windows-static-x64 windows-static-x86"
187- if ! $DOCKCROSS_ONLY ; then
187+ if ! [ -z $DOCKCROSS_ONLY ] ; then
188188 DOCKCROSS_IMAGES=$DOCKCROSS_ONLY
189189 echo Building only: $DOCKCROSS_IMAGES
190190fi
You can’t perform that action at this time.
0 commit comments