mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Fix libwallet arm7 build
This commit is contained in:
parent
4713228d96
commit
2788b8a776
2 changed files with 8 additions and 3 deletions
|
@ -52,12 +52,15 @@ if [ "$platform" == "darwin" ]; then
|
||||||
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../..
|
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../..
|
||||||
elif [ "$platform" == "linux64" ]; then
|
elif [ "$platform" == "linux64" ]; then
|
||||||
# Do something under GNU/Linux platform
|
# Do something under GNU/Linux platform
|
||||||
echo "Configuring build for Linux.."
|
echo "Configuring build for Linux x64"
|
||||||
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../..
|
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../..
|
||||||
elif [ "$platform" == "linux32" ]; then
|
elif [ "$platform" == "linux32" ]; then
|
||||||
# Do something under GNU/Linux platform
|
# Do something under GNU/Linux platform
|
||||||
echo "Configuring build for Linux.."
|
echo "Configuring build for Linux i686"
|
||||||
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D ARCH="i686" -D BUILD_64=OFF -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../..
|
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D ARCH="i686" -D BUILD_64=OFF -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../..
|
||||||
|
elif [ "$platform" == "linux" ]; then
|
||||||
|
echo "Configuring build for Linux general"
|
||||||
|
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../..
|
||||||
elif [ "$platform" == "mingw64" ]; then
|
elif [ "$platform" == "mingw64" ]; then
|
||||||
# Do something under Windows NT platform
|
# Do something under Windows NT platform
|
||||||
echo "Configuring build for MINGW64.."
|
echo "Configuring build for MINGW64.."
|
||||||
|
|
4
utils.sh
4
utils.sh
|
@ -8,8 +8,10 @@ function get_platform {
|
||||||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||||||
if [ "$(expr substr $(uname -m) 1 6)" == "x86_64" ]; then
|
if [ "$(expr substr $(uname -m) 1 6)" == "x86_64" ]; then
|
||||||
platform="linux64"
|
platform="linux64"
|
||||||
else
|
elif [ "$(expr substr $(uname -m) 1 4)" == "i686" ]; then
|
||||||
platform="linux32"
|
platform="linux32"
|
||||||
|
else
|
||||||
|
platform="linux"
|
||||||
fi
|
fi
|
||||||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
|
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
|
||||||
platform="mingw64"
|
platform="mingw64"
|
||||||
|
|
Loading…
Reference in a new issue