Remove m32

This commit is contained in:
Andrea Cavalli 2022-03-19 19:34:10 +01:00
parent a2a0a2a1ac
commit 76d24a4144
2 changed files with 0 additions and 8 deletions

View File

@ -72,9 +72,6 @@ if [[ "$OPERATING_SYSTEM_NAME" == "linux" ]]; then
echo "Creating toolchain file..."
cd "$ROOT_DIR"
{
echo "set(CMAKE_EXE_LINKER_FLAGS \${CMAKE_EXE_LINKER_FLAGS} ${MFLAGS})";
echo "set(CMAKE_C_FLAGS \${CMAKE_C_FLAGS} ${MFLAGS})";
echo "set(CMAKE_CXX_FLAGS \${CMAKE_CXX_FLAGS} ${MFLAGS})";
echo "set(CMAKE_SYSTEM_PROCESSOR ${CPU_ARCH_LINUX})";
echo "set(CMAKE_C_COMPILER ${CROSS_CC})";
echo "set(CMAKE_C_COMPILER_TARGET ${CLANG_TRIPLE})";

View File

@ -72,10 +72,6 @@ if [[ "$CORE_VARIABLES_SET" != "YES" ]]; then
export CPU_CORES_NUM="4"
fi
if [[ "$CPU_ARCHITECTURE_NAME" == "386" ]]; then
export MFLAGS="-m32"
fi
if [[ "$OPERATING_SYSTEM_NAME" == "windows" ]]; then
export CMAKE_EXTRA_ARGUMENTS_TDJNI="${CMAKE_EXTRA_ARGUMENTS_TDJNI} -DOPENSSL_USE_STATIC_LIBS=True"
elif [[ "$OPERATING_SYSTEM_NAME" == "osx" ]]; then
@ -118,7 +114,6 @@ if [[ "$CORE_VARIABLES_SET" != "YES" ]]; then
echo "CPU_COMPILATION_TOOL=${CPU_COMPILATION_TOOL}"
echo "CC=${CC}"
echo "CXX=${CXX}"
echo "MFLAGS=${MFLAGS}"
echo "CFLAGS=${CFLAGS}"
echo "CXXFLAGS=${CXXFLAGS}"
echo "CMAKE_EXE_LINKER_FLAGS=${CMAKE_EXE_LINKER_FLAGS}"