blob: ed32b2acefbbe3fe97dc6e1fdd97f3b144bef121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
if [ -f "${RELEASE_ROOT}/Tarballs/cmake-${VERSION}-irix64-n32.tar.gz" ]; then
PLATFORM="irix64-64"
CFLAGS="-64"
CXXFLAGS="-64"
LDFLAGS="-64"
else
PLATFORM="irix64-n32"
CFLAGS="-n32"
CXXFLAGS="-n32"
LDFLAGS="-n32"
fi
CC="cc"
CXX="CC"
MAKE="gmake"
BUILD_FLAGS="-j 20"
BOOTSTRAP_FLAGS="--parallel=20"
INSTALL_DIR="Install-${PLATFORM}"
# Write entries into the cache file before building cmake.
write_cache()
{
write_standard_cache
cat >> CMakeCache.txt <<EOF
HAVE_LIBCRYPTO:INTERNAL=0
EOF
}
|