Skip to content

Commit

Permalink
appimageupdatetool: ensure 32bit hosts still use 64bit offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman authored and RomanPudashkin committed Dec 11, 2023
1 parent 30c7418 commit 31238b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/ci/linux/setup-arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,11 @@ git submodule update --init --recursive
mkdir -p build
cd build

cmake -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SYSTEM_NAME=Linux ..
if [ "$PACKARCH" == "armv7l" ]; then
cmake -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_CXX_FLAGS=-D_FILE_OFFSET_BITS=64 -DCMAKE_C_FLAGS=-D_FILE_OFFSET_BITS=64 ..
else
cmake -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SYSTEM_NAME=Linux ..
fi
make -j"$(nproc)"
# create the extracted appimage directory
mkdir -p $BUILD_TOOLS/appimageupdatetool
Expand Down

0 comments on commit 31238b7

Please sign in to comment.