#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 4.0.0
+# [V] 4.1.1
# [S] 0-1 0-4
-# [D] gcc-4.0.0.tar.bz2 ftp://ftp.fu-berlin.de/unix/gnu/gcc/gcc-4.0.0/
+# [D] gcc-4.1.1.tar.bz2 ftp://ftp.fu-berlin.de/unix/gnu/gcc/gcc-4.1.1/
extraver="-$ver"
confopt="$confopt --enable-shared --with-local-prefix=$prefix"
confopt="$confopt --libexecdir=$prefix/lib"
-unset CFLAGS
-
if [ "$priority" = "1" ] ; then
- confopt=${confopt//--host* /--host=$hdw_arch_build }
confopt="$confopt --enable-languages=c --disable-nls"
- # use host system gcc tools
- export CC="gcc"
- export CXX="c++"
-
- make_conf="BOOT_LDFLAGS=\"-static\" bootstrap"
-
post_install() {
ln -sf gcc $prefix/bin/cc
}