1
0
mirror of https://github.com/upx/upx.git synced 2025-08-11 22:52:30 +08:00

all: minor updates

This commit is contained in:
Markus F.X.J. Oberhumer
2022-12-21 22:09:05 +01:00
parent fefce0d5c4
commit 8e85680eb4
3 changed files with 17 additions and 3 deletions

View File

@ -30,10 +30,12 @@ function run_config_and_build {
# avoid link errors with Windows cross compilers; need to install some more support libs??
i686-w64-mingw32) cmake_config_flags=-DUPX_CONFIG_DISABLE_SANITIZE=ON ;;
x86_64-w64-mingw32) cmake_config_flags=-DUPX_CONFIG_DISABLE_SANITIZE=ON ;;
# avoid warnings about arm libstdc++ ABI change in gcc-7
arm-linux-*) CXX="$CXX -Wno-psabi" ;;
esac
# for all build types
for build_type in Debug Release; do
bdir=build/cross/$toolchain/${build_type,,}
bdir=build/cross-compile-upx-with-podman/$toolchain/${build_type,,}
mkdir -p $bdir
# run_config
if [[ ! -f $bdir/CMakeCache.txt ]]; then