-
Notifications
You must be signed in to change notification settings - Fork 16
/
BUILD
28 lines (22 loc) · 1.03 KB
/
BUILD
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
28
(
mkdir BUILD &&
cd BUILD &&
sedit 's/trap 0/trap "" 0/' ../configure &&
LANGUAGES=${LANGUAGES:=c++} &&
../configure --host=$BUILD \
--enable-languages=$LANGUAGES \
--prefix=${MODULE_PREFIX} \
--infodir=${MODULE_PREFIX}/share/info \
--mandir=${MODULE_PREFIX}/share/man \
--enable-__cxa_atexit \
--enable-threads \
--disable-nls \
--enable-target-optspace \
--with-gnu-ld \
--with-system-zlib \
--enable-shared &&
# sedit 's/= install-headers-tar/= install-headers-cpio/' gcc/Makefile &&
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean &&
prepare_install &&
make install
) > $C_FIFO 2>&1