added dependencies libtasn1 and iso-codes
[v4hn_moonbase.git] / compilers / gcc / BUILD.x86_64
blob34a04f77e305aafdee398c07fc27e9b00c4157c1
3   mkdir BUILD  &&
4   cd BUILD     &&
6   sedit 's/trap 0/trap "" 0/' ../configure  &&
7   # We use libiberty.a from binutils instead
8   sedit 's/install_to_$(INSTALL_DEST) //' ../libiberty/Makefile.in &&
10   LANGUAGES=${LANGUAGES:=c++} &&
12   if in_depends gcc mpfr ; then
13     LANGUAGES="${LANGUAGES},fortran"
14   fi
16   ../configure --host=$BUILD                          \
17                --enable-languages=$LANGUAGES          \
18                --prefix=${MODULE_PREFIX}              \
19                --infodir=${MODULE_PREFIX}/share/info  \
20                --mandir=${MODULE_PREFIX}/share/man    \
21                --enable-__cxa_atexit                  \
22                --enable-threads                       \
23                --disable-nls                          \
24                --enable-target-optspace               \
25                --with-gnu-ld                          \
26                --with-system-zlib                     \
27                --enable-shared                        \
28                --disable-multilib                     \
29                $OPTS &&
31   make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean  &&
32   prepare_install  && 
33   make install
35 ) > $C_FIFO 2>&1