Skip to content

Commit 9f7bb52

Browse files
committed
make formatter happy
1 parent 41f4a99 commit 9f7bb52

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

deps/build_libs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,3 @@ tar -xzf /opt/lib/libxml2-2.14.3.tar.gz -C /tmp && cd /tmp/libxml2-2.14.3
116116
./autogen.sh --prefix="$PREFIX" --disable-shared --enable-static --without-python --without-iconv --host="$CROSS_COMPILE"
117117
make -j"$(nproc)"
118118
make install
119-

scripts/configure_toolchain.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
# Check if the CROSS_COMPILE variable is set
44
if [ -z "$CROSS_COMPILE" ]; then
5-
echo "Error: CROSS_COMPILE is not set. Please specify the toolchain prefix (e.g., arm-linux-gnueabihf-)."
6-
exit 1
5+
echo "Error: CROSS_COMPILE is not set. Please specify the toolchain prefix (e.g., arm-linux-gnueabihf-)."
6+
exit 1
77
fi
88

99
# Detect if the toolchain is osxcross
1010
if [[ "$CROSS_COMPILE" == *"apple-darwin"* ]]; then
11-
# Set osxcross-specific tools
12-
export CC="o64-clang"
13-
export CXX="o64-clang++"
11+
# Set osxcross-specific tools
12+
export CC="o64-clang"
13+
export CXX="o64-clang++"
1414
else
15-
export CC="${CROSS_COMPILE}-gcc"
16-
export CXX="${CROSS_COMPILE}-g++"
15+
export CC="${CROSS_COMPILE}-gcc"
16+
export CXX="${CROSS_COMPILE}-g++"
1717
fi
1818

1919
# Set default compilation flags

0 commit comments

Comments
 (0)