blob: 6566385675fa5fc14bf41e1ef2be7e9dff76daa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
PLATFORM="x86-linux"
CURSES_LIBRARY="/usr/i686-gcc-322s/lib/libncurses.a"
FORM_LIBRARY="/usr/i686-gcc-322s/lib/libform.a"
CC="gcc322s"
CXX="c++322s"
CFLAGS="-I/usr/i686-gcc-322s/include/ncurses"
CXXFLAGS="-I/usr/i686-gcc-322s/include/ncurses"
BUILD_FLAGS="-j 2"
BOOTSTRAP_FLAGS="--parallel=2"
# Write entries into the cache file before building cmake.
write_cache()
{
write_standard_cache
cat >> CMakeCache.txt <<EOF
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
EOF
}
|